An earthquake of magnitude 2.8 and depth of 7.10 kilometers occurred 0.99 miles from Danville, CA in Contra Costa County at 12:21 PM.