Compounds, compositions, and methods for modulating skin pigmentation and treating or preventing UV-induced skin damage, erythema, aging of the skin, sunburn, and hyperpigmentation in a subject. Malassezia-derived compounds and/or chemical analogs thereof, compositions that comprise such compounds, and methods of treating by administering the compounds and compositions, including methods of inducing melanocyte apoptosis, and modulating arylhydrocarbon receptor (AhR) activity, melanogenesis, and melanin concentration.