The invention provides sunless tanning compositions comprising a compounds of formula (I): or a salt thereof as described herein as well as methods for tanning mammalian skin by contacting the skin with the compounds of formula (I) or compositions comprising compounds of formula (I).