QuestionAcids and bases

Why Does Red Cabbage Juice Change Color? A Natural pH Indicator

Test tubes of red cabbage indicator in solutions from acidic on the left to basic on the right
Test tubes of red cabbage indicator in solutions from acidic on the left to basic on the right. Image: Epaenurk (CC BY-SA 3.0), via Wikimedia Commons

Red cabbage juice changes color because its anthocyanin pigments change shape as the acidity of the liquid changes. The juice looks red or pink in acid, purple near neutral and blue, green or yellow in increasingly basic solutions. This makes red cabbage a natural pH indicator, which is a substance that shows whether a liquid is acidic or basic.

Contents

The full answer

Red cabbage contains anthocyanins, a group of plant pigments that are dissolved in the juice when the leaves are crushed in water. Anthocyanins are a type of flavonoid, and many fruits and flowers, such as blueberries and red roses, also contain them.

The color of anthocyanins depends on the pH of the solution. In strongly acidic liquids such as vinegar (acetic acid and water), the pigment is mostly in a form that looks red. As the solution becomes more neutral, the molecule changes its structure, and the juice turns purple. In basic solutions, the molecule changes again, and the color moves towards blue, green and finally yellow.

This change is reversible. If an acid is added to a blue or green juice, the color changes back towards red. The effect is consistent enough that the juice can show the approximate pH of a liquid by its color.

Red cabbage juice is not as precise as universal indicator, but it is a good example of how a natural substance can show acidity and basicity without any special equipment.

The science behind pH indicators

A pH indicator is a weak acid or base whose acid and base forms have different colors. The molecule absorbs particular wavelengths of visible light, so the color we see depends on which form is present. When hydrogen ions (H+) are added or removed, the molecule shifts between forms.

The pH scale runs from 0 to 14. A pH of 7 is neutral, below 7 is acidic and above 7 is basic. The scale is logarithmic, so a change of one pH unit means a tenfold change in hydrogen ion concentration:

pH = −log[H+]

Anthocyanins respond to pH across a broad range, so the juice shows a series of colors rather than a single sharp change. This is different from indicators such as phenolphthalein, which change color at a narrow range near pH 8 to 10.

Anthocyanins are also chemically unstable in strong bases, which is one reason the colors are easiest to compare in mild solutions. Over time, very basic juice can fade or turn brown, so the colors are best seen in mildly basic solutions such as baking soda solution.

An everyday example: a kitchen test

A common classroom and home demonstration uses red cabbage juice to sort safe, everyday liquids by their approximate acidity. Only mild liquids such as vinegar, water and baking soda solution should be used, since strong cleaners are not suitable for this test. Vinegar gives a red or pink color, a neutral liquid such as water stays purple, and a baking soda solution turns blue or green. The colors are a useful comparison rather than a precise pH measurement.

Litmus paper works in a similar way but gives only two colors in the usual test. Litmus is red below about pH 4.5 and blue above about pH 8.3, with purple between them. Universal indicator is a mixture of several dyes that covers the full pH range, and it turns red in strong acid, green near neutral and violet in strong base. Red cabbage falls between these two in its usefulness.

Why anthocyanins change shape

Anthocyanins have a large system of connected carbon and oxygen atoms, which absorbs visible light. Small changes in the structure of this system change which colors of light are absorbed and which are reflected. In acid, a positively charged form dominates, and its structure reflects mainly red light. In more basic solutions, the molecule loses hydrogen ions and changes shape, so it reflects blue or green light instead.

A similar principle explains why some flowers change color with soil acidity. Hydrangeas are a well-known example, because their blue or pink color depends on the acidity of the soil and the aluminum it contains. The pigments are different, but the principle that acidity can change a plant pigment is the same.

Common misconceptions

Many people think red cabbage juice changes color because it is reacting with the acid to make a new substance. In most cases, the pigment changes its structure in response to hydrogen ions, and that change reverses when the pH changes back.

Another misconception is that all purple or red liquids are acidic. The color depends on the pigment and the pH together, so a red juice may be neutral or basic depending on the substance. A third belief is that red cabbage juice gives exact pH values. It gives a rough guide, and a pH meter or universal indicator is needed for accurate measurement.

Frequently asked questions

Why does red cabbage juice change color?

Red cabbage contains anthocyanin pigments whose molecular shape changes with pH. Each shape absorbs light differently, so the juice looks red in acid, purple near neutral and blue, green or yellow in bases.

What is a pH indicator?

A pH indicator is a substance that changes color over a range of pH values. Litmus, phenolphthalein and universal indicator are common examples, and red cabbage juice works in a similar way.

What color is red cabbage juice in vinegar?

Red cabbage juice turns red or pink in vinegar, which is an acid with a pH of about 2.5 to 3. This is because the red form of the pigment dominates at low pH.

Is red cabbage juice a good indicator?

It is a useful natural indicator for showing acids and bases roughly, but the colors are less sharp than those of litmus or universal indicator. The exact colors also depend on the cabbage and the strength of the solution.

Is anthocyanin the same as chlorophyll?

No. Chlorophyll is the green pigment used in photosynthesis, while anthocyanins are water-soluble pigments that give red, purple and blue colors to many plants, fruits and flowers.

Sources and further reading

  • OpenStax, "Chemistry 2e"
  • Royal Society of Chemistry, "Indicators"
  • Encyclopaedia Britannica, "Anthocyanin"

Cite this page

“Why Does Red Cabbage Juice Change Color? A Natural pH Indicator.” Atoms & Forces, https://science.bigworldlist.com/questions/why-does-red-cabbage-juice-change-color/.

More about pH scale