Colourism

Discrimination based on skin color, also known as colourism or shadism, is a form of prejudice or discrimination in which people are treated differently based on the social meanings attached to skin color.

Colourism, is not a synonym of racism.