that is like saying all people are racist for not letting other members of homo into our cities.
current villagers are not racist as there is only 1 race.
You're right, villagers right now aren't racist. After all, they let you, a player who can look like anything from a human to a submarine, who looks completely different from them, enter their village with absolutely no problem. You don't even speak their language and they aren't hostile without reason.
But these villagers aren't racist either. If you put a villager with another skin tone into a village, the villagers are absolutely cool with it. That's like you calling me a parrot-hater because I never let parrots in my house, completely ignoring the fact that I live in the desert where no parrots live anyway.