A novel excited-state intramolecular proton transfer (ESIPT) dye with unique near-IR keto emission and its application in detection of hydrogen sulfide.