Jim Crow law
An example of a Jim Crow law is a state law prohibiting a white man from marrying a black woman.
(plural Jim Crow laws)
From the song Jump Jim Crow (c. 1830) which mockingly portrayed African-Americans. The term Jim Crow became a generic term for African-Americans in the early- to mid- 19th century.