I usually work on the basis that if it gives offence to anyone, it is unacceptable.
That might sound self-righteous, but what it means in practice is that I won't say it if I am in doubt........ but it also means you get surprised at how easily people can sometimes take offence.