Why anthocyanin changes colour with pH — and how to build a purple that stays purple

Anthocyanins are the only natural colours that deliberately change hue with pH, which makes them a gift and a trap. Here is the chemistry behind the shift, what it means for a beverage, and the three variables that decide whether your purple survives pasteurisation and the shelf.

Why anthocyanin changes colour with pH — and how to build a purple that stays purple

Why anthocyanin changes colour with pH — and how to build a purple that stays purple

Anthocyanins behave like nothing else in the natural colour world. Ask a carotenoid to change colour and it simply fades. Ask an anthocyanin to change colour and it obliges: the same molecule reads red in a sports drink, violet in a still water and dusty pink in a yoghurt, without anything being added to it. That is because the anthocyanin molecule has a chemical equilibrium at its centre that is driven directly by hydrogen ion concentration.

That is a gift when you are designing a product with a deliberate colour story, and a trap when you are trying to hit a target shade and hold it. This guide explains the mechanism, gives a usable pH-to-colour map, and sets out the workflow that gets a purple from the bench to the shelf.

What anthocyanins actually are

Anthocyanins are flavonoid pigments — the same broad family as flavonoids and flavones — built from six anthocyanidin cores: delphinidin, cyanidin, malvidin, peonidin, petunidin and pelargonidin. Each core carries a sugar at one position, and that sugar is most of the reason anthocyanins behave the way they do.

In the fruit they come from, the anthocyanin sits inside a cell wall alongside a large family of co-pigments — mostly other flavonoids, but also organic acids, and in the case of red wine, the winemaking yeast's own metabolites. In the plant, the co-pigments act as a shield: they stack around the pigment, stabilise the coloured form, and protect it from light and from the enzymes that would otherwise strip the sugar off.

Commercial anthocyanin colourants are deliberately stripped of that shield. The pigment is extracted, purified and often standardised to a single anthocyanidin source — black carrot, grape skin, purple sweet potato, elderberry. What you get is a cleaner, stronger colour, and you inherit the consequence: with the co-pigments left behind, the colour is far more exposed to pH, heat, light and metal ions than the fruit it came from.

Black grapes, black carrots and a dish of deep purple powder

The pH colour map

The colour change is driven by the pH of the surrounding water. In practical terms, for a purified anthocyanin in water:

pHWhat the solution looks likeWhy
Below 2.5Bright redThe flavylium cation — the coloured form — dominates
2.5 to 4.0Red to orange-redStill flavylium, but the equilibrium starts to shift
4.0 to 5.5Pink to violetThe neutral quinoidal base becomes significant
5.5 to 6.5Violet to blue, and less intenseHydration starts; the colour thins
Above 6.5Colour fades toward a dull yellow-brownThe flavylium hydrates and the coloured forms break down into colourless or yellow products

The key word in that table is intense. At higher pH the anthocyanin does not become a different saturated colour — it becomes a weaker one. A violet at pH 6 is usually a violet that has already lost strength.

A dark red-magenta anthocyanin solution in a labelled beaker

Why the colour shifts — the part that matters in practice

The anthocyanin exists in at least three forms in equilibrium: the flavylium cation, which is red and intensely coloured; the quinoidal base, which is blue-violet and also coloured; and the hydration equilibrium product, which is colourless.

At low pH the flavylium cation is favoured, because the equilibrium pushes back towards the charged form in acid. As pH rises, the flavylium hydrates — a water molecule adds across the central carbon — and the colourless product accumulates. The colour loss is reversible as long as the hydrated form has not broken down further into yellow products, and that reversibility is genuinely useful: it is why an acidified anthocyanin can be brought back into the red.

Three practical consequences:

  1. The direction of the shift is set by where you start. A violet anthocyanin that drifts toward blue at higher pH looks like a degradation to a buyer comparing against a swatch, even though nothing has broken down yet.
  2. The intensity falls as the hue shifts. If the brief is "a deep purple at intensity 8", then a shift toward blue at intensity 4 is a failure, even though the hue is technically on target.
  3. Below pH 2.5, everything is red. If a red anthocyanin is dosed into a low-acid product, it will look like any other red colour, and none of the purple storytelling survives.

The three problems beyond pH

pH gets the attention because it is the one you can control with a buffer. It is not the one that most often ruins the product.

Heat. Anthocyanins are markedly less heat-stable than beet colour or curcumin. In the flavylium form, degradation accelerates noticeably above roughly 50 to 60 °C, and the products are dull brown. A pasteurised fruit beverage with a purple anthocyanin needs the colour added after the pasteurisation step, or needs an anthocyanin grade specified and proven for that step.

Light. Anthocyanins are photolabile, and the degradation products are tan. Clear bottles and lit retail chillers are the combination that turns a purple into a beige fastest. A purple product wants an opaque or strongly light-barrier pack.

Metal ions and oxidation catalysts. Iron, copper and tin catalyse oxidation and shift the hue toward dull purple-brown. They arrive through the water supply, the fruit juice, the capping equipment, and sometimes the label adhesive.

Purple juice being poured from a bottle into a glass of red juice

Why "pH-stable anthocyanin" is a specific technology

When a supplier describes an anthocyanin as pH-stable, they are describing a specific set of interventions, not a wish. The usual combination is:

  • Deep purification to remove the hydrolytic enzymes that would strip the sugar from the pigment.
  • Copigmentation — the deliberate re-introduction of a co-pigment, or the use of a colourless flavanone such as naringin, which stacks with the anthocyanin and stabilises the flavylium form.
  • Acetal or ketal adduct formation, where a carbonyl compound is covalently bonded to the pigment's C-4 position, blocking the hydration pathway that drains the colour at higher pH.
  • Encapsulation, which protects against heat and light and slows the whole thing down.

Any one of these improves stability; together they are what make a violet hold at pH 5 or 6 through a pasteurisation step. The point for a buyer is that "pH-stable" is a claim to be tested against your own pH, your own process and your own pack — not a property to be assumed from a datasheet.

Blending for a shade you can hold

Since hue is adjustable with pH, and intensity falls as hue shifts, there are two distinct strategies, and they should not be confused.

Adjust the pH. The simplest lever. If the product is a still water at pH 3.6, an anthocyanin will read red-pink; raise it to pH 5.0 and the same dose reads violet. Every step of adjustment costs intensity, so the dose has to rise with it.

Blend two sources. Anthocyanins from different botanical sources have different anthocyanidin profiles, and the profiles have different stability and different behaviour at a given pH. A blend of black carrot and purple sweet potato can be tuned to a target hue that neither source reaches alone. Blending also lets you trade one property against another: one source for hue, another for stability.

A deep purple-red liquid in a clear glass bowl

A workflow that works

The order matters more than the ingredients.

  1. Fix the target in Lab values. Name the hue angle, the chroma and the lightness you need, and state the substrate and the measurement method. A hex value on a screen is not a specification.
  2. Fix the finished product pH. Not the water you dissolve the powder in — the finished beverage. Fruit juice, citric acid, ascorbic acid and the pack lining all move it.
  3. Choose the source and the technology together. Black carrot for a deep blue-leaning purple, purple sweet potato for a red-leaning one, grape skin where a wine note is acceptable. Ask specifically which stability technology the grade uses.
  4. Place the colour addition after the heat. Where the process allows, add the anthocyanin to the cooled base, or add it as a separate pre-pasteurised component.
  5. Exclude the metals. Check the water, check the juice, check the capping line.
  6. Validate the pack. Run a shelf trial under the retail lighting condition, not in a dark lab cabinet, and measure Lab at day 0, at the end of shelf life and after a heat cycle in the pack.

EarthHue supplies anthocyanin colour as a water-soluble blend with a clean label, with batch-level COA and MSDS, EU, US, Japan and Korea documentation, a 1 kg minimum order and samples shipped within 7 days. The grade is listed at EarthHue Antho-Mix 30 and technical support for a formulation trial is available through contact page.

Frequently asked questions

Why does my purple anthocyanin turn brown after pasteurisation?

Because anthocyanins are heat-sensitive. In the flavylium form they degrade noticeably above roughly 50 to 60 °C, and the products are dull brown. Add the colour after the pasteurisation step where the process allows, or specify a grade that has been developed and proven for that thermal step.

Is beet red better than anthocyanin for a stable pink?

For a stable pink, usually yes. Beet red holds its shade across a wider pH range, tolerates heat far better, and does not fade in the way an anthocyanin does. Anthocyanin earns its place when the colour story depends on a hue shift with pH, which beet red cannot deliver.

Can I get a blue colour from a natural source?

A stable, saturated blue is genuinely difficult in a food product, which is why phycocyanin and some hybrid blue systems exist at all. Anthocyanins move toward blue as pH rises but lose intensity as they do so, and the blue degrades quickly. If blue is the brief, ask for a blue-specific grade rather than trying to push an anthocyanin there.

Does sugar affect anthocyanin stability?

Yes, in two directions. Sucrose and other sugars interact with the pigment and can slow hydration, but they also raise the water activity and the refractive index of the phase, and at high levels they can accelerate the degradation of the anthocyanin through a different pathway. Sugar is not a simple protection.

Why does the colour look different in the finished drink than in the test tube?

Three common reasons: the finished product pH is not the pH you tested at, the matrix scatters light and mutes chroma, and the other ingredients — particularly ascorbic acid, tea polyphenols and citric acid — interact with the pigment. Always match the final product, never the beaker.

What does "pH stable" mean in a supplier specification?

It usually means the colour has been engineered to hold hue and intensity across a stated pH range, achieved by purification, copigmentation, adduct formation and encapsulation. The specification should name the pH range. Test it in your own matrix at your own pH, with your own process, rather than taking the range on trust.

Does anthocyanin work in a clear water bottle?

The chemistry is fine; the light is not. Anthocyanins are photolabile and their degradation products are tan, so a clear bottle under retail lighting is the fastest route to a beige drink. Use a light-barrier pack, and validate the result under the actual shelf condition.

Can I use anthocyanin as a natural pH indicator in a product?

In principle yes — it is a genuine acid-base indicator with a legible colour range, and there is real interest in using it that way. In practice, for a commercial product the label colour, the process tolerance and the shelf life all have to work as well as the colour does, and very few anthocyanin grades are specified for indicator duty.

Conclusion

An anthocyanin purple is a design problem before it is a pigment problem, and the design is the pH. Fix the target in Lab values, fix the finished product pH, pick a source and a stability technology that suit that pH, add the colour after the heat, keep metals out, and validate the pack under retail lighting. Get those six right and the colour is not merely acceptable; it is a colour that no synthetic can copy, because it changes with the product it is in.

Frequently asked questions

Why does my purple anthocyanin turn brown after pasteurisation?
Because anthocyanins are heat-sensitive. In the flavylium form they degrade noticeably above roughly 50 to 60 °C, and the products are dull brown. Add the colour after the pasteurisation step where the process allows, or specify a grade that has been developed and proven for that thermal step.
Is beet red better than anthocyanin for a stable pink?
For a stable pink, usually yes. Beet red holds its shade across a wider pH range, tolerates heat far better, and does not fade in the way an anthocyanin does. Anthocyanin earns its place when the colour story depends on a hue shift with pH, which beet red cannot deliver.
Can I get a blue colour from a natural source?
A stable, saturated blue is genuinely difficult in a food product, which is why phycocyanin and some hybrid blue systems exist at all. Anthocyanins move toward blue as pH rises but lose intensity as they do so, and the blue degrades quickly. If blue is the brief, ask for a blue-specific grade rather than trying to push an anthocyanin there.
Does sugar affect anthocyanin stability?
Yes, in two directions. Sucrose and other sugars interact with the pigment and can slow hydration, but they also raise the water activity and the refractive index of the phase, and at high levels they can accelerate the degradation of the anthocyanin through a different pathway. Sugar is not a simple protection.
Why does the colour look different in the finished drink than in the test tube?
Three common reasons: the finished product pH is not the pH you tested at, the matrix scatters light and mutes chroma, and the other ingredients — particularly ascorbic acid, tea polyphenols and citric acid — interact with the pigment. Always match the final product, never the beaker.
What does "pH stable" mean in a supplier specification?
It usually means the colour has been engineered to hold hue and intensity across a stated pH range, achieved by purification, copigmentation, adduct formation and encapsulation. The specification should name the pH range. Test it in your own matrix at your own pH, with your own process, rather than taking the range on trust.
Does anthocyanin work in a clear water bottle?
The chemistry is fine; the light is not. Anthocyanins are photolabile and their degradation products are tan, so a clear bottle under retail lighting is the fastest route to a beige drink. Use a light-barrier pack, and validate the result under the actual shelf condition.
Can I use anthocyanin as a natural pH indicator in a product?
In principle yes — it is a genuine acid-base indicator with a legible colour range, and there is real interest in using it that way. In practice, for a commercial product the label colour, the process tolerance and the shelf life all have to work as well as the colour does, and very few anthocyanin grades are specified for indicator duty.

Test it in your own formulation

Request a lab sample before you commit to a bulk order.