I think there's a public/private divide here. You can use whatever language you want with people you know, because you know how they'll react and that it genuinely won't cause offence. In a public space though, I'd be wary. A black person walking past a group of white kids making racist jokes and using racial slurs is only going to make them feel less comfortable, even if the white kids genuinely mean no harm.