Phenol red, sometimes labelled with a different name, such as "Guardex Solution #2", is used as a pH indicator in home swimming pool test kits.
Chlorine can result in the bleaching of the dye in the absence of thiosulfate to inhibit the oxidizing chlorine. High levels of bromine can convert phenol red to bromophenol red (dibromophenolsulfonephthalein, whose lowered pK results in an indicator with a range shifted in the acidic direction – water at pH 6.8 will appear to test at 7.5). Even higher levels of bromine (>20 ppm) can result in the secondary conversion of bromophenol red to bromophenol blue with an even lower pK, erroneously giving the impression that the water has an extremely high pH despite being dangerously low.