Hyperpigmentation is caused when melanin—what gives our hair and skin color—is overproduced in certain spots on the skin,” says Dr. ... Engelman warns against using products with salicylic acid, as it can have a damaging effect on melasma-ridden skin. On top of that, your diet may also have an effect on melasma.