If you haven't dated outside your race, there's nothing wrong with that. If you're making it some sort of rule that you follow because you're judging new people based on their race because of experiences you've had with people of that race, then you're being racist.
Or maybe it's that whenever there is a high crime area in a city, there is a high population of poor people. There's an undeniable correlation between race and class.
So all black women look the same? This statement would be a lot easier to accept if you said something like "I've never been attracted to a black woman" but to say it like you did implies that you are stereotyping and suggesting that all black women look a certain way, which is of course ridiculous. People of sub-Saharan African descent (black people) are probably the most diverse group of people on the planet when it comes to features and skin color.
Lumping an entire group of people together and saying you're "not attracted to them"?
Pretty much racist.
I love how racist crap is always followed or preceded by people saying "BY THE WAY I KNOW MINORITIES AND HAVE FRIENDS WHO ARE MINORITIES" as if that somehow makes what they say okay. This trend needs to die.