Class is often backdoor racism too. Structural racism is a huge driver of class division in the US.
I haven't seen a good study on teasing apart cultural, class, and racial discrimination in terms of contribution to outcomes.
Class divisions due to race were cemented by slavery, jim crow, redlining, and the criminal justice system. Nimbyism parallels redlining in certain ways now that I think about it.