An earthquake of magnitude 2.1 and depth of 4.30 kilometers occurred 3.12 miles from Hayward, CA in Alameda County at 02:37 PM.