An earthquake of magnitude 1.7 and depth of 5.10 kilometers occurred 2.99 miles from Santa Margarita, CA in San Luis Obispo County at 12:08 PM.