I agree it's perfectly acceptable.
I'm using the definition of racism where the focus is upon racial hatred, not one of the three p's (power, prejudice, preference).
I don't agree with the current petty tyranny that seem to be in the habit of going around automatically apportioning a vicious or negative motivation to random law abiding people's sexual or social preferences.
Nor with the hoards of self-appointed noisy moral arbitrators constantly taking the totalitarianist approach rather than minding their own business; creating an unsolicited role of sitting in judgement of all other people's private lifestyle preferences like some omniscient 'big brother' being who always knows best and is always guaranteed to be right about everything.
There are plenty of potential reasons why you could choose not to have sex, marry or make friends with an individual of the same race as yourself but a different complexion and skin tone.
Including your own attraction orientation, personal beauty standards, desire to impress family members, family traditions, secure a large inheritance from an awkward elderly relation or have children who are most likely to look like you/your biological relatives.
None of which would be wrong or any random strangers business unless you asked them for advice/to share their opinion.
My long list of dating dealbreakers are mostly based on age, personality and sexual compatibility.