A magnitude 6 earthquake struck near the coast of Peru on Saturday, the German Research Center for Geosciences (GFZ) said. The quake was at a depth of 24 km (14.91 miles), GFZ said.