An earthquake with a preliminary magnitude of 6.5 was recorded east of New Caledonia in the South Pacific on Tuesday, the U.S. Geological Survey said.