Hyperpigmentation has been linked to iron, anemia, and vitamin B12 deficiencies, so eat foods rich in iron and antioxidants like avocados, oranges, and broccoli; however, too much vitamin B12 can cause melasma, so refer to your dermatologist before making dietary changes. It’s important to consume nutritional foods, so proportion your food and drinks appropriately.