Combining with melatonin, N-acetyl-5-methoxytryptamine, to initiate a change in cell activity. Melatonin is a neuroendocrine substance that stimulates the aggregation of melanosomes in melanophores, thus lightening the skin.