Did you mean vulgarism?
vulgarism
noun
°A word or term that is considered offensive or vulgar.
""Shit" is a vulgarism."
°A spelling, word, or phrase used in common speech that is considered improper or incorrect for formal communication.
"Editors of newspapers allow more vulgarisms to go to print today than they used to."