A hairpin, hairclip or hair ornament that looks like a pumpkin.
If it is designed like a jack-o'-lantern, consider adding the jack-o'-lantern hair ornament tag.