The ability of a carboxylic acid functionalized spiropyran, SP, to act as a reversible and selective receptor for metal ions has been systematically examined. A series of spectroscopic measurements, combined with single-crystal X-ray diffraction have been employed in order to determine metal-ion sensitivity and selectivity, binding constants, solution compositions, binding kinetics as well as s...