Så sier loven
According to Title VII of the Civil Rights Act, it’s illegal to consider any single candidate’s or employee’s race — even with the intention of creating a more diverse, equitable, or inclusive workforce — in any employment decision. Employers can’t create de facto hiring quotas (e.g., “50% of the employees hired in this department must be women”), or “reserve seats” for employees from certain groups, even in the interest of diversity.
https://hbr.org/2023/07/how-to-effectively-and-legally-use-racial-data-for-dei