Etymology
Today it means: A long straight pin, often with a decorative head, used to secure a woman's hat to her hair. Full definition →
From hat + pin.
Etymology from Wiktionary, CC BY-SA 4.0.