Food●●●●●Difficulty 2 of 5

Why does red cabbage juice change color with vinegar or baking soda?

A pigment named in 1835 for the blue of flowers turns a pot of cabbage water into a chemistry set: pink with vinegar, green with baking soda.

▶ Start the story

Red cabbage juice changes color because its purple pigment, an anthocyanin, changes its chemical structure with the acidity of the liquid around it, and each structure has a different color. Vinegar is a solution of acetic acid, so it pushes the juice toward red or pink. Baking soda is alkaline, so it pushes the juice toward blue, green and then yellow. In between, in a neutral solution, the juice stays purple.

A row of small tubes of red cabbage indicator on a lab bench, going from red through pink and purple to blue-green and yellow.
Red cabbage juice in solutions of increasing pH: red in acid, purple near neutral, then blue, green and yellow as the solution gets more basic.Photo: Laundry · Public domain

Acidity is measured on the pH scale: 7.0 is neutral, below 7.0 is acidic, above 7.0 is basic. A compound whose color tells you where a solution sits on that scale is called a pH indicator, and the color change itself is called halochromism. That is why red cabbage juice works as a homemade indicator. It also explains a kitchen surprise: cooked red cabbage normally turns blue, and cooks add vinegar or acidic fruit to the pot to keep it red.

The pigment's name is older than the experiment. In 1835 the German pharmacist Ludwig Clamor Marquart called it Anthokyan in a treatise on the colors of flowers, from the Greek words for 'flower' and 'dark blue'. Plants use the same pigments in other ways: in flowers their colors may attract pollinators, and in fruits they may attract animals that spread the seeds. Blueberries, cherries, eggplant peel and black rice are rich in them too.

Quiz me

0/3

  1. 1.Why does red cabbage juice turn pink when vinegar is added?
  2. 2.Why do cooks add vinegar when cooking red cabbage?
  3. 3.What makes a compound useful as a pH indicator?

Recap

Acid turns cabbage juice red, a base turns it green, because the pigment's structure changes with pH, a property called halochromism.

Surprising fact · Anthocyanins were named in 1835 after the Greek for 'flower' and 'dark blue', for the pigment that colors flowers blue.

Sources (5)

No source, no claim. Every fact in this lesson (16 claims) cites at least one of these.

  1. [1]Anthocyanin · Wikipedia
  2. [2]PH indicator · Wikipedia
  3. [3]Red cabbage · Wikipedia
  4. [4]Vinegar · Wikipedia
  5. [5]Sodium bicarbonate · Wikipedia
More lessons in 🍷 Food (3) See all food lessons →

One more light on your map.

Get one lesson like this every day, about the things you love. Free, in two or five minutes.

Get the share card for this lesson ↗