The anatomy of racial inequality