to judge on the basis of race yes... it doesnt necessarily entail superiority or inferiority its just the perception of someone as largely different and to have different emotional dispositions towards that someone. I must admit i am pretty lenient with my definition of Racism.
Let me give an example, My moral principle tells me that I should value all human life equally and yet I find myself more moved (my moral sense and general emotions of sympathy and altruism) when the victim of a tragedy is a family member than when its a friend, than when its a guy from the same neighbourhood, than when its a guy from Egypt than when its an Arab, than when its an American than when its a European than when its an African or an Asian. Its not something I control although I try to consciously make myself feel equally bad about all tragedies because of that moral principle that I consciously adhere to. Without that conscious effort I am completely indifferent to the majority of these groups well being or destruction.
No matter how much humanitarian you are, you cant have your passions stirred as the moral principles you intellectually hold tells you. Your moral sense acts more instinctively and naturally makes you move more for your own people than for others etc.
My moral sense moved more to Sandy than to the Tsunami, the whole arab world moves more for the palestinian tragedies than for what happens in Sudan. My point is that our moral sense's natural behaviour does not value people as equal (within and without races) and this will always underlie racism, sexism etc.