The design of boronic acid spectroscopic reporter compounds by taking advantage of the pK(a)-lowering effect of diol binding: nitrophenol-based color reporters for diols.