Generally the more precisely correct term for such language would be an "ethnic slur", the conflict being over ethnicity, rather than race. "Ethnocentrism" is too hard to pronounce, I guess, and doesn't sound as scary. Functionally, it can be (conceivably) as dehumanizing.
~ Becky in Tucson