Yes! Good on you for noticing the speciesism that racism is built on! If non-human animals have less worth than humans then liking some humans to non-human animals means they have less worth. The issue is at the very start, that
a) non-human animal and human are a meaningful distinction
b) non-humans have inherently less worth than humans