While it is perfectly normal to find certain physical traits more attractive than others, (loving red hair, brown eyes, etc.) to say that someone’s race is “not your type” is indeed racist — It is judging the person wholly on their race in the most shallow sense.
A Lesbian Flag for Everyone

That’s not racist.