There is no such thing as a safe tan. Whether from the sun or from sunlamps used in tanning equipment, ultraviolet rays pose a health risk.
Read more at: http://www.fda.gov/consumers/consumer-updates/indoor-tanning-risks-ultraviolet-rays