A simple colorimetric chemosensor bearing a carboxylic acid group with high selectivity for CN-.