Why does red cabbage juice turn pink in lemon and green in soap?
After you watchWhy does red cabbage juice turn pink in lemon and green in soap?
The short answer
Red cabbage juice turns pink in lemon and green in soap because it is a natural pH indicator, not a fixed dye. Its purple color comes from a pigment molecule that changes shape depending on whether it is in an acid or a base. Lemon is an acid and bends the molecule toward red and pink; soap is a base and bends it toward blue and green. It is the very same juice both times, so the color is telling you what kind of liquid it landed in.
Try this next
- What if you add the lemon one tiny drop at a time instead of all at once? Predict first: will the color jump straight to pink, or creep through purple on the way? Drip slowly into a green cup and watch which colors it passes through.
- What if you test something fizzy like soda water instead of lemon? Guess whether bubbles mean acid or base, then pour the same cabbage juice into soda water and see which way the color leans.
- What if a liquid is exactly in the middle, neither acid nor base? Predict what color plain tap water gives, then test it — and try to find a liquid that keeps the juice its original purple.
Now you — bend it
- What if What if you add acid one drop at a time and count drops until the color flips — does the flip come at a steady pace, or does it suddenly lurch at one point?pH is a logarithmic scale: each step down means 10× more loose H+. Predict whether the early drops barely move the color while a late drop tips it all at once.
- What if What if the liquid you test is a buffer, like water with both baking soda AND vinegar already in it — can a few drops of acid still flip the color?A buffer mops up added H+ to hold its pH steady. Predict whether you'll need far more acid to budge the color than you would in plain water.
- What if What if you split one batch of juice and watch which exact pH each color appears at — does pink-to-purple flip at the same point as purple-to-green?Anthocyanin has several forms that switch over at different pH bands. Predict whether one indicator can read the whole 0–14 scale or only blurs across part of it.
Can you prove it?The juice changes color because the pigment grabs or loses H+ ions, not because the new liquid carries its own dye — so the very same molecules can be swung back and forth. — Turn one cup green with a base, then add acid drop by drop until it returns to pink, then add base again to push it back to green. If a fresh dye were doing the coloring, you could never reverse it by only changing the H+ — repeatable round-trips prove it's the same pigment re-folding with pH.
Design your own test:Before you slide or drip, predict the exact color order you'll sweep through going from strong acid to strong base — name the bands and where you think each color hands off to the next.
Explain it to a 6-year-old: The purple juice is like a tiny mood ring: it turns pink when a drink is sour and green when it's soapy, so its color tells you what the drink is.
The whole story
How it works
Red cabbage juice contains a colored pigment called anthocyanin. In an acid like lemon, there are lots of loose hydrogen bits, and the pigment grabs them and folds into a shape that reflects red and pink light. In a base like soapy water, those hydrogen bits get pulled away, and the pigment folds into a different shape that reflects blue and green light. Because a different shape reflects different colors, the juice acts as a detector: its color tracks how acidic or basic the liquid is, sweeping from pink in strong acid through purple in the middle to green and yellow in strong base.
What people get wrong
People often think a liquid has one fixed color and that cabbage juice is just purple dye. In fact the exact same juice turns pink in an acid and green in a base, so the color is not fixed at all. The juice is reading the liquid, not dyeing it, which is why one batch can end up two completely different colors depending only on what you add.
The catch
Cabbage juice is free, made right in your kitchen, and changes across a whole rainbow from pink to green to yellow, but its colors blur into each other so it can only give a rough answer, and it stains and fades quickly. Special pH paper and lab indicators snap to sharp, clear colors and last a long time, so you can read an exact number, but you have to buy them and each one usually covers only a smaller slice of the scale.
Questions kids ask
Does cabbage juice work on other liquids besides lemon and soap?
Yes. Any acid turns it toward pink or red, including vinegar, orange juice and fizzy soda. Any base turns it toward blue or green, including soapy water, baking-soda water and window cleaner. Plain water leaves it purple because water sits right in the middle, neither acid nor base.
Can I turn the green back to pink again?
Yes. If you add enough acid, like lemon juice or vinegar, to a green cup of cabbage juice, the extra hydrogen bits bend the pigment back and it returns toward pink. You can swing the same juice back and forth by adding acid or base, because the molecule just keeps changing shape.
Is it safe to drink the juice after it changes color?
The cabbage juice itself is just vegetable juice, but once you mix in soap, cleaner, or a strong acid it is no longer safe to drink. Treat color-changing cups as a science experiment to look at, not a drink, and pour them out when you are done.
Why does the color sometimes look blue or yellow instead of just pink and green?
The pigment has more than two shapes. Mild acids look reddish-pink, the middle looks purple, mild bases look blue, and very strong bases push it all the way to green and even yellow. That whole rainbow is why cabbage juice can show roughly how strong an acid or base is, not just which one it is.
Talk about it
- Before we test it — which kitchen liquids do you think are acids, and which are bases? Why?
- The juice is the same in both cups, so what is actually changing to make two different colors?
- If you could only test one thing in the whole kitchen, what would you most want to find out the answer for, and what's your guess?
For grown-ups
The pigments are anthocyanins, whose conjugated ring system gains or loses protons (H+) as pH changes. In strong acid the red flavylium cation dominates (pink/red); near neutral it shifts to the violet quinoidal form; in base it deprotonates further to blue, then to yellowish chalcone forms. A different molecular structure reflects different wavelengths, so the color tracks pH. This makes red cabbage a natural broad-range pH indicator, working on the same principle as litmus and universal indicator paper, just blurrier across the scale.
Keep going
What else makes you wonder?
- Do other colorful foods like blueberries, beets, or grape juice also change color in acid and base?
- If our eyes only see the pigment's shape change, what other invisible things in a liquid might we be able to make visible with a color trick?
- Why do plants make a pigment that can switch colors at all — what is it doing for the cabbage out in the garden?