It doesn’t need to be awkward, complicated, or in depth. Whenever a colleague flirts with casual racism, saying “let’s keep things professional” works wonders.
Beyond that it depends on your position and abilities.