An earthquake of magnitude 2.0 and depth of 10.50 kilometers occurred 1.71 miles from Lafayette, CA in Contra Costa County at 12:50 AM.