See also: Appendix:Variations of "ha"
In a formal setting, or towards a stranger, the use of hä? is generally regarded as impolite if not followed by a proper question. Such use is very common and perfectly acceptable in informal settings, however.
- hä in Duden online