If race was considered at all then it’s… racist. Racist and illegal.
In the US, it isn't illegal to per se to consider race in hiring and firing decisions. The extent of the legal wiggle room that exists for various kinds of affirmative action is quite a complex issue of case law.