It's called 비녀 (binyeo). It's an ornamental hairpin that pinned a woman’s long hair (or a chignon) in place.