The Kids in the Hall, summarized here that depicts a career-destroying utterance of an idiot.
A literary analogue was recently perpetrated by Ms. Victoria Foyt who claims not to be a racist. Yet, she has written a series of books "Save The Pearls" that refers to blacks as "coals" and whites as "pearls." This is not prima facie evidence of racism. But close.
I detest those who find racism where it is not. For example, Huckleberry Finn, by Mark Twain has been called racist.
Look at the illustration, the black guy is kneeling! It's racist because Huck uses the n-word!
But Huck is saves the life of his friend Jim who happens to be black and learns to recognize an escaped slave is a far better man than the white scalawags called the duke and the king.
Sometimes, the way you make a point makes it impossible for anyone to hear that point. A good example an idea that Ann Coulter advanced a few years ago. One must separate sympathetic feelings for a person from the merits of what that person is advocating. If Hitler advocates that two plus two is four, then we cannot let our distaste for Hitler make us innumerate.
When you sit down to write, have in mind what you want to say. There are live, high-voltage lines that if you brush up against them, the sparks and fire will blind your readers to it. (If you think some politician is a poopy-head, half the people in the country voted for that poopy-head and the other half voted against him. Do you want your reader response to depend upon party affiliation? I don't, because I'm a Whig.) You need to be sensitive to where the high-voltage lines are and stay clear of them.
Our words are not judged by what we intend, but by how they are received.
If you have a character say, "that's mighty white of you," your readers might not appreciate the fact that you intended it as a gentle dig against white people. My sainted mother never held any ill will against followers of Judaism, yet she used the idiom "Jewing him down" when she meant nothing besides negotiating a better price. You can use idiomatic language like that, but when you do, sparks can fly. Those sparks may not be what you want.
Just ask Ms. Foyt.