I don't think it is harassment to call a woman pretty as lon thing as you keep your hands to yourself.
In a professional setting it would not be appropriate.
Ex came home from work,in a snit. Asked, "what's wrong with calling someone a girl."
I replied, "so, I should call you a boy?"
Blessed silence!
Also, that exchange fell right down the homophobia hole.