Sigh. To the OP:
I'm white and American. I've been stalked and sexually harassed by strange men on more than one occasion. The first time I was stalked, I was just 12 years old. The man might not have realized how old I was. I certainly looked way older than 12 and was often mistaken for a teenager or even a college student. Or maybe he did know and he didn't care. Or maybe he did know full well and that's what he wanted. I don't know.
The first man who stalked me was Hispanic. The second one looked multiracial, maybe Hispanic. The third one looked multiracial but might have been Asian or mostly Asian.
It was painful, disturbing, distressing, traumatic, creepy, disgusting. Literally soul shattering. I blamed myself, thought it was somehow my fault that these things kept happening to me over and over. Even now, I find it painful and embarrassing to even tell others about it.
I was also once cornered by a strange white man who tried to give me 100 dollars to have sex with him when I was just 15 years old. In a public place. While dozens of people either didn't hear or see it, didn't realize what was going on or ignored it.
Guess what. It was painful, disturbing, distressing, traumatic, creepy, disgusting. Literally soul shattering.
The race of the person who harms you doesn't matter. If you are beaten up or robbed or anything else by a person of your own race, it hurts every bit as much as if it was by a person of another race. Not any more, not any less.
A white person's punch hurts as much as a black person's punch. As much as an Asian person's punch, as much as a Hispanic person's punch, as much as an Arabic person's punch, as much as any-other-human-being-in-the-world's punch.
You do not care about the skin color, eye color, hair texture, nose length, etc. of the person violently assaulting you!
If you do care, it's about social expectation. A white boy beat up by a black boy might have his ego very bruised because he might- consciously or subconsciously- think "I'm white! How dare that black kid!". Same for a black kid beat up by a white boy; he might feel he was victimized because of his race or feel ashamed of being beaten by a white kid. He might prefer to have lost a fight to a person of his own color. A white woman verbally or physically attacked by a black man might think- again, either in the back of her mind or not- "How dare a black man do that to a white woman!". And so on.
If it's just a regular crime not related to race, however, I can tell you that it sure as hell doesn't matter to the victim.
The reason people of color commit crimes more often than white people do here in America, in the UK, in Sweden and in other Western nations has to do with income level, education, social situations, etc. People who are poor, badly educated, live in the worst places, have the worst jobs, have the most children, grew up in the worst environment, etc. are more likely to be criminals. And the people who happen to be poor are immigrants and their children. That's it.
Their blackness didn't make them do it, their poverty did. Their poverty may be related to their blackness. That's all.