The social, physical, political and economic separation of diverse groups of people, based on racial or ethnic groups. This particularly refers to ideological and structural barriers to civil liberties, equal opportunity and participation by minorities within the larger society.