The U.S. Geological Survey said the magnitude-5.6 quake struck at 1:07 p.m. about 18 miles east of Trinidad in an unincorporated part of Humboldt County. The epicenter is a rural area near the small community of Weitchpec, about 220 miles northwest of Sacramento.