From 2010, written into UK law: https://www.legislation.gov.uk/ukpga/2010/15/section/9
> 9 Race
> (1)Race includes—
> (a)colour;
> (b)nationality;
> (c)ethnic or national origins.
From 1976 (over 40 year ago), written into the previous UK law: https://www.legislation.gov.uk/ukpga/1976/74/enacted
> 1 Racial discrimination
[...]
> (ii) which he cannot show to be justifiable irrespective of the colour, race, nationality or ethnic or national origins of the person to whom it is applied ; and