A magnitude-5.8 earthquake hit northern Colombia on Friday, according to the European-Mediterranean Seismological Centre (EMSC).