An earthquake of magnitude 1.2 and depth of 7.80 kilometers occurred 3.30 miles from San Ramon, CA in Contra Costa County at 05:04 AM.