Define "socially acceptable." Different communities will react differently. As with any words, profanities are valuable to the degree to which they are useful. Profanity can be fun, communicate strong emotions better that other words, increase pain tolerance, create an informal feeling, etc. Any linguistically intelligent person is capable of adjusting their speech based on who they are talking to, and since profanities tend to be more loaded with emotion, it's understandable that they would be considered improper for a workplace, just as it's reasonable to have dress codes, even though there's nothing wrong with any part of the human body. Profanity is not inherently harmful, but since it has emotional connections for members of our society it serves as a shortcut for all kinds of emotional expression--love, anger, misery, elation. People who choose not to swear voluntarily limit their ability to communicate, and cut off one extra tool for emotional release.