A magnitude 5.9 earthquake struck off the coast of Atacama, Chile on Tuesday the European-Mediterranean Seismological Centre (EMSC) said.