racism spurs out of one's own ability to cope with one's lack of intellectual capacities
it's less related to lack of education and has more to do with limited comprehension of lesser available intellectual connections
that's all there is to it
Is a red volvo better than a black volvo? if the answer is yes you have found the satisfactional cerebral boundaries, which, in order to mask an inferiority complex, your brain has turned into a superiority feeling. So you see, even cerebral inflicted 'stupidity' has merit of being able to cope with itself not so stupidly. One of survival instinct's wonders yet again.
That being said, we are not all equal, at all. Not referring to equal rights.
The politically/religiously 'incorrect' philosophy that everyone is created equal has been misinterpreted and misused ever since its conception.
This claim was invented for and directed at the masses to get them to vote for particular parties, ideas and social or democratic constructions. In truth it's concept has never been understood or even explained. This failure to comprehend that claim (and therefore our nature) lies at the very root of wrongful and spiteful answers/consequences for society as a whole.