NPL lectin-NaGdF4:Eu3+ conjugated NC permitted distinct identification of contours of the melanoma tissue on histological sections using red excitation at 590-610 nm and near infrared emission of 700-720 nm. Here, NPL is linked to melanoma.