Gaps in earnings between most affluent and the rest of the country is known as income inequality, but paying different wages to two different class of people for the same/similar work is called wage gap (like wage gap based on gender, wage gap because of ethnicity or religion or caste).