Environmental exposures such as smoking and low vitamin D are predictive of poor outcome in cutaneous melanoma rather than other deprivation measures.