Contra Costa County, California. Contra Costa County is a county in the state of California in the United States. As of the 2010 census, the population was 1,049,025. The county seat is Martinez. The name is Spanish for opposite coast, referring to its position on the other side of the bay from San Francisco.