Targetable N-annulated perylene-based colorimetric and ratiometric near-infrared fluorescent probes for the selective detection of hydrogen sulfide in mitochondria, lysosomes, and serum.