Do you consider rejecting people because of their race or gender identity racist and transphobic?

People have been accused of being racist for having preference on skin colour, religion or culture. What do you think

Updates
+1 y
It happened to me, i got called a racist for saying my preferences and then told i had no right to reject them or even deny being a racist
Do you consider rejecting people because of their race or gender identity racist and transphobic?
Post Opinion