A novel easily available turn-on fluorescent chemosensor RPU based on a rhodamine–phenylurea conjugate was synthesized, which showed highly selective and sensitive recognition toward Pb2+ in CH3CN and Hg2+ in aqueous media over a wide range of tested metal ions with remarkably enhanced fluorescent intensities and also clear color changes from colorless to pink.