You use "in" for items of clothing, because a part of your body is literally inside the clothing. For accessories, jewellery and parts of the body (hair is a part of the body), you use "with".
Some things like hats and shoes are sort of on the borderline. Shoes, for example, are accessories, but your feet do actually go inside them. You can probably use either "with" or "in", as you see fit.