What you see: Red onions that turn a bluish, greenish color during cooking.
What it is: A harmless reaction of a plant pigment to an alkaline (basic) environment.
Eat or toss? Eat!
Why did this red onion turn green?
Once upon a time, the green thing in the image below was part of what we call a “red onion.” It was a rich, dark purple-red color, which comes from a plant pigment called anthocyanin.
Then, somewhere in New York, a chef preparing breakfast at a hotel chopped that onion and put it in a salmon scramble, along with eggs, lox and capers.
The end product was delicious, but our friend the red onion went through some kind of identity crisis along the way. Parts of it turned various shade of green and blue. The reason? Something in that salmon scramble was particularly basic (“basic” as in “alkaline” or the opposite of acidic). My money is on the egg whites, which are naturally somewhat alkaline and become more so as eggs age.
So, the scramble’s alkaline environment caused the anthocyanins to change to these bluish greenish shades. Sometimes, this reaction has kind of pretty results. The triangle shaped piece of onion pictured below reminds me of a flourite crystal, but I digress.
It’s safe to eat a red onion that has turned blue or green during cooking
Red cabbage, and other anthocyanin-sporting foods, behave similarly. And sometimes metals, including iron, aluminum and tin, can cause these types of color changes. If you’re intrigued, Decoding Delicious offers an in-depth explanation and instructions for playing with food pigments at home. This reaction isn’t restricted to red onions and it has no implications for food safety, so don’t worry about eating any such color shifting, anthocyanin-packing veggies.
At the top of this post, you’ll see my own experiment. I chopped a red onion and put some of the rings in a bowl with some baking soda and water. I heated them in the microwave and they quickly turned green!