I personally think it's racist only based on why you wrote it. If you have a dislike of that group of people (sexually and non-sexually) then it's racist. The motivation behind you writing this matters. However, if you don't explain your motivation, you can assume that some will for sure make the assumption that the statement is racist.
The important thing here in my opinion is that people argue that these things are racist opinions but they usually are just sexual preferences. As a black man that is mostly sexually attracted to white men, I've been called many negative things and even been accused of being racist against my own race. I'm usually able to quite them quite quickly by explaining that i get turned on (or hard if you prefer) by white guys and I can control what turns me on any more than they can. If we could control who we are attracted to, some (maybe most) gay guys would have chosen women because it seems to be an easier choice given the discrimination (name calling, shaming… etc) gays face. I think this point of view usually puts them "in my shoes" and I've very often had people apologize to me and understand how they were chastising me over a choice I didn't necessarily make.
One more point I'd like to make on this issue... as I mentioned earlier, motivation matters. When I post an online ad, I say something like "sexually I prefer white guys." This explains my motivation for the preference (and it would even if i said I preferred black guys) and it also makes a positive statement, rather than a negative one. When you choose to say things in a way perceived as negative, I think negative connotations are sometimes subconsciously (and consciously) attached to the type of person you are. The only thing guys have to base their opinion of you on is your profile and thus, I think choosing to make points about what you like, rather than what you don't (in all areas, not just racial preference) is the better choice when presenting yourself to those who may read your profile/ad.