← All articles
chemistryacidsmeasurementdyesSeptember 17, 20264 min read

What Is an Indicator? A Dye That Changes Colour With Acidity

By the BrainSnail editorial team. How these articles are written and checked, and how to tell us when one is wrong.

Certain compounds are one colour in acid and another in alkali, changing over a narrow range of acidity. That property makes them a direct visual measurement, and several of the most useful ones come out of plants.

Why the colour changes

An indicator is a weak acid or base whose two forms, the one holding a proton and the one having lost it, absorb light differently and therefore appear different colours. In acidic conditions the proton-holding form dominates, in alkaline conditions the other does, and in between both are present in proportions set by the acidity. The transition occurs over roughly two units of pH centred on the compound's own dissociation constant, which means each indicator changes colour over its own particular range and is useless outside it. The visible change happens because the structure of the molecule shifts when the proton leaves, altering the arrangement of alternating bonds that determines which wavelengths are absorbed. That connection between molecular structure and colour is the same chemistry that underlies dyes generally, which is why so many indicators are dyes and why the two fields developed together.

The common ones

Different indicators are chosen for different purposes because their ranges differ:

  • Litmus, extracted from lichens, red in acid and blue in alkali, changing near neutral and famous for being the first anyone meets
  • Phenolphthalein, colourless in acid and pink in alkali, changing in the alkaline range and used for titrating a strong base
  • Methyl orange, red in acid and yellow in alkali, changing in the acidic range and used for titrating a strong acid
  • Bromothymol blue, yellow to blue across the near-neutral range, widely used in biology for detecting carbon dioxide
  • Universal indicator, a mixture giving a continuous range of colours across the whole scale rather than a single change
  • Red cabbage extract, which contains pigments spanning a wide range and is the standard demonstration anyone can do at home

Choosing one for a titration

The practical use is in titration, where a measured solution is added to another until the reaction is complete, and the indicator signals the endpoint. Choosing correctly matters because the acidity at the completion point depends on what is reacting, and using an indicator that changes at the wrong acidity gives a systematically wrong answer. A strong acid neutralised by a strong base reaches completion at neutral, so almost any indicator works. A weak acid neutralised by a strong base reaches completion in the alkaline region, which requires an indicator changing there. A weak base neutralised by a strong acid reaches completion in the acidic region and requires one changing there. The steepness of the change matters too, since a sharp transition in acidity near completion means any indicator in that region changes abruptly, giving a clear endpoint.

The history of the idea

The observation that certain plant extracts change colour with acidity is old, and turning it into a measurement was a gradual achievement. Seventeenth-century work recorded that syrup of violets and other plant infusions changed colour with what were then called acids and alkalis, and used the effect to classify substances long before anyone knew what an acid was. Litmus from lichens was in use by then. The modern understanding had to wait for the theory of acids as proton donors and for the definition of the pH scale in the early twentieth century, which gave the colour changes a quantitative meaning and allowed indicators to be characterised by the range they change over. Synthetic dye chemistry in the nineteenth century supplied a large supply of new candidates, since the same industry producing dyes for textiles was producing compounds whose colour depended on structure in exactly the way an indicator requires.

Where they turn up

The principle is applied well outside laboratories. Soil testing kits use indicators to determine whether ground is suitable for particular plants, which matters because nutrient availability depends strongly on acidity. Swimming pool and aquarium test kits work the same way. Some plant pigments change colour with soil acidity while still in the plant, which is why hydrangea flowers differ in colour depending on where they grow and can be altered deliberately by treating the soil. Indicator strips and papers impregnated with mixtures give a rough reading anywhere. Medical test strips use the same chemistry for urine testing. Electronic measurement has replaced indicators where precision is needed, since a glass electrode gives a continuous numerical reading rather than a change at one point, and indicators remain standard where cheapness, simplicity and not needing power matter more.

The takeaway

An indicator is a weak acid whose proton-holding and proton-free forms absorb light differently, changing colour over about two units of acidity centred on its own dissociation constant. Each one therefore works only in its own range. In a titration the indicator must change where the reaction actually completes, which depends on whether the acid and base are strong or weak.

Practise this

Questions from Acids, Bases and pH

Reading about something is not the same as being able to recall it. These are real questions from the Acids, Bases and pH unit in our Chemistry track, answers and explanations included. The unit has 120 in total across 20 steps.

  • Fill the blankLevel 1

    1. Universal indicator turns ____ in a neutral solution.

    • greencorrect
    • red
    • purple
    • orange

    Universal indicator is green at pH 7, showing the solution is neutral.

  • Match the pairsLevel 3

    2. Match each acid to its conjugate base (the species left after it donates one proton).

    Answer: HCl = Cl-; HNO3 = NO3-; H2SO4 = HSO4-; HF = F-

    A conjugate base forms by removing one H+ from the acid, so H2SO4 gives HSO4- rather than SO4^2-.

  • Guess the numberLevel 2

    3. In a titration of a strong acid with a strong alkali, what is the pH at the equivalence point?

    Answer: 7 pH

    When a strong acid exactly neutralises a strong base, the salt solution formed is neutral, so the pH is 7.