An earthquake of magnitude 1.6 and depth of 5.90 kilometers occurred 3.16 miles from Hayward, CA in Alameda County at 12:43 AM.