A pH indicator is a halochromic chemical compound added in small amounts to a solution so the pH (acidity or basicity) of the solution can be determined visually. Hence, a pH indicator is a chemical detector for hydronium ions H3O+ or hydrogen ions H+ in the Arrhenius model.