They're both racist. Are you saying they are not?
Neither is "racist". A word in and of itself can't be "racist" because racism is a value judgment. It's what's attached to the word that (may or may not be) racist.
For instance we used to use the word "retarded" to describe the mentally undeveloped. It was perfectly innocuous until it took on the baggage of being tossed around as an insult on the not mentally undeveloped. The move away from "retarded" to "mentally handicapped" or whatever euphemism carries its own baggage, that being the assumption that the former term carries the disparaging baggage. That assumption is not a given.
So -- sorry, a sentence with the word "******" in it can't be "racist" until you reach a verb. For a perfect example -- see the sentence before this one.