An earthquake of magnitude 1.2 and depth of 9.50 kilometers occurred 1.48 miles from San Ramon, CA in Contra Costa County at 12:13 AM.