I just got up from conversation with a couple of older black men, that I said “well I got to go back to work and start cracking the whip.” And it occurred to me then that it was probably a really insensitive stupid thing to say.
Sadly, it hadn’t occurred to me until it’s already said.
It’s not quite what you’re looking for, but there’s this list: https://en.wikipedia.org/wiki/List_of_ethnic_slurs
To add to this:
List of lists of pejorative terms for people
It includes lists for men, women, lgbt+, disability, age, ethnicity, religion, location. The severity of the terms is varying and arguably location-dependent.
For example, while I (probably) wouldn’t use the word “wanker” in a formal professional large meeting in my current workplace without it being somehow contextual, almost no Australian or New Zealander in that company would blink an eye if I said it casually at lunch. But when I worked in the education sector I used the personal rule “if I don’t want it written on my gravestone, I shouldn’t say it”, because teachers have subsonic and lightning-fast swearing detection reflexes, even when they’re not at school.