Yup.I know several men named Hans and they're all over 40 years old. Hearing that someone named their baby Hans would be a little strange (not shocking, but it would stand out among other kids names).Hans in itself isn't bad, but not something I'd ever consider.
Hans is a name that sounds kind to me, because my mother had two uncles named Hans (one was called Hasse and one was simply called Hans). They were both very kind, so it's not a name I would call ugly, but it's not a name I would choose for a child.