Styrylcyanine derivatives based on indolenine and salicylaldehydes act as excellent fluorescent sensors with ratiometric changes in absorption and emission profiles in response to pH variation.