Admitting you’re not attracted to a certain race IS NOT racist.
It is racist. You are putting forth a monolithic identity (look) upon people you don’t even know.
It Is Racist, by definition. You are attracted to them based on race. But it’s also being sexist if you only like girls. There isn’t anything wrong with being attracted to certain ethnic groups, but there is stuff wrong with calling them ugly.