Red onions are purple because they contain anthocyanins, which are water-soluble pigments found in the vacuoles of the plant cells. For example, the deep magenta hue of a sliced red onion comes from these same pigments that give blueberries and red cabbage their color.
Identify the Pigments Creating the Color
Anthocyanins are a type of flavonoid that acts as a natural pigment in many fruits and vegetables. In red onions, these pigments are stored in the cell vacuoles, which are small fluid-filled sacs. Unlike the white or yellow pigments found in other onion varieties, anthocyanins reflect light in the blue, purple, and red spectrums. The specific shade of purple you see depends on the concentration of these pigments and the internal environment of the onion cell.
These pigments do more than just provide color; they often serve as antioxidants. While white onions rely on different chemical compounds for their color and flavor, the red onion has evolved to produce these specific flavonoids. The intensity of the purple color can vary based on the growing conditions, such as soil quality and the amount of sunlight the plant receives during its growth cycle. Some red onions may appear more deep-red, while others lean toward a bright violet.
Observe How pH Levels Change the Hue
The color of anthocyanins is highly sensitive to pH levels, meaning they change color based on whether they are in an acidic or alkaline environment. In a neutral environment, the onion remains its characteristic purple. When you introduce an acid, such as lemon juice or vinegar, the pH level drops, and the anthocyanins shift toward a bright red or pink color. This is why red onions turn a vibrant pink when used in quick-pickled recipes.
Conversely, if the onion is exposed to an alkaline substance, such as baking soda, the color shifts toward a blue or green hue. This chemical reaction happens because the structure of the anthocyanin molecule changes as it gains or loses hydrogen ions. This sensitivity makes red onions a natural pH indicator. If you notice your red onions looking dull or grayish in a dish, it is often a sign that the pH balance of the surrounding ingredients is neutralizing the pigment.
Control the Color During Cooking
Heat affects the stability of anthocyanins, and how you cook red onions determines if they keep their purple color or fade. When you sauté red onions over medium heat, the cell walls break down and release the pigments. If you cook them slowly, the purple color often softens into a translucent pink. However, high-heat searing can sometimes cause the pigments to degrade more quickly, leading to a brownish tint if the sugars caramelize too rapidly.
To maintain a bright purple color in a cooked dish, add an acidic component toward the end of the process. Adding 1 tablespoon (15 ml) of apple cider vinegar or lemon juice to a pan of sautéed onions will reactivate the bright red-purple tones. This prevents the onions from looking muddy and ensures the visual appeal of the dish remains intact. If you are roasting them, the high heat of the oven typically concentrates the sugars and the pigments, resulting in a deep, jammy purple color.
Prevent Color Bleeding in Other Ingredients
Anthocyanins are water-soluble, which means they easily leak out of the onion and stain other foods. This is most noticeable in salads where red onions are tossed with light-colored ingredients like feta cheese or cauliflower. The pigments migrate from the onion cells into the moisture on the surface of other vegetables, turning the entire bowl a pale pink over time.
To stop this bleeding, soak sliced red onions in ice water for about 10 to 15 minutes before adding them to a salad. This process washes away some of the surface pigments and removes some of the harsh sulfur compounds, making the onion milder in taste. Pat the onions dry with a paper towel before mixing them in. Another method is to toss the onions in a small amount of acid, like lime juice, which "sets" the color and makes it less likely to bleed into the rest of the ingredients.
Calculate the Impact of Acid on Color
Using a worked example, consider the ratio of acid to onion needed to achieve a bright pink pickle. If you have 2 cups (about 200 g) of sliced red onions, you typically need a brine with a pH low enough to trigger the color shift. A standard ratio is 1 cup (240 ml) of vinegar to 1 cup (240 ml) of water.
In this scenario, the acetic acid in the vinegar lowers the pH of the soaking liquid. As the onions sit in this solution for 30 minutes to 2 hours, the anthocyanins react to the acidity. The result is a shift from a deep purple (neutral pH) to a bright neon pink (acidic pH). If you were to use only water, the onions would remain purple or even fade to a pale lavender because there is no acid to trigger the chemical shift in the pigment molecule.
Distinguish Red Onions from Other Varieties
People often confuse the purpose of red onions with that of yellow or white onions, but the color indicates different chemical properties. Yellow onions have a higher sulfur content and a stronger flavor when raw, making them better for long-simmering stews. White onions are generally crisper and have a cleaner, sharper taste, which is why they are often used in Mexican cuisine.
Red onions are typically milder and sweeter than yellow onions, which is why they are the preferred choice for raw applications. The anthocyanins that provide the purple color are associated with a different flavor profile that doesn't "bite" as hard as a yellow onion. When choosing between them, remember that the purple pigment is a marker for a vegetable that handles raw preparations and acidic pairings better than its white or yellow counterparts.
Manage Red Onion Storage to Preserve Pigment
Storing red onions correctly prevents the pigments from degrading and keeps the onion from spoiling. Keep red onions in a cool, dry, and well-ventilated area, such as a pantry or a mesh bag. Avoid storing them in plastic bags, as trapped moisture can lead to mold and cause the outer purple skins to soften and discolor.
Do not store onions in the refrigerator unless they have been peeled and sliced. Whole onions in the fridge can absorb moisture from the air, which turns the crisp layers mushy and can cause the purple color to fade into a dull brown. If you have sliced red onions, store them in an airtight container in the refrigerator and use them within 3 to 4 days. If you notice the onions developing a slimy film or a fermented smell, discard them immediately, as this indicates bacterial growth.