I have a friend who is brown, he told me this happened at his work...
Another colleague had made a joke where the punchline was something about my brown friend being detained by cops. So my friend was saying how it was driving him insane how often jokes would centre on scenarios of him being chased by cops or being a thief or whatever. The colleague pulls the "jokes are jokes, there's no hidden meanings or racism at play" Two or three other developers could overhear the conversation. 30mins later the IT guy came in and asked my friend if he'd stolen any GPUs from the office for bitcoin mining.
I feel the key here is... if a person says they're being victimised by something, whether it be racism or something else. We should strive to reduce this kind of hassling.
Imagine if our significant-other was constantly humiliated by work colleagues for being short or fat or some such... I'm sure most people would be upset.