No, the appropriateness of racial consideration should not depend on the context of the situation. Using race to form any decision violates the 14th amendment.
The 14th amendment states that any “state may not deprive any person of life, liberty, or property…nor deny to any person within its jurisdiction the equal protection of the laws.” Using race in situations is not equal treatment to every person. The context of the situation should not matter. To create an equal environment we must first create a color blind society. The 14th amendment was created in order to make all people equal. It needs to be interpreted in such a way, that it serves it’s purpose to be color blind. And creates an equal society for everyone.
Racial profiling at an airport should not be treated differently than considering a candidate’s race in making a hiring decision. In both cases someone is being judged just because of what they look like, which is something they can’t control. Racial profiling is illegal and using race as a factor for hiring decisions is just as bad. Although race may be used as part of a holistic plan in making a hiring decision, it’s still the same idea: race is a factor. It’s morally incorrect to use race to make any type of decision.