Mincing onions and chilies can intensify their color due to the release of enzymes and compounds that react with oxygen, leading to oxidation and color changes. This is more noticeable in onions, which can become more translucent or even slightly pink.
When you mince vegetables like onions and chilies, you're essentially breaking down their cell walls. This releases enzymes and other chemical compounds that were previously contained within those cells. In the case of onions, enzymes like alliinase are released, which react with sulfur-containing compounds to produce volatile compounds responsible for the onion's pungent smell and flavor. These compounds can further react with oxygen in the air, leading to oxidation. This oxidation process can cause the onion to become more translucent, and in some cases, can even result in a pinkish or reddish hue. This color change is more pronounced in red onions due to the presence of anthocyanins, which are pigments that are sensitive to pH changes and can react with the released compounds. Similarly, mincing chilies releases capsaicinoids (the compounds responsible for their heat) and other pigments. While the color change in chilies might be less dramatic than in onions, the mincing process can still affect the overall appearance and flavor profile. The increased surface area exposed to air also accelerates the degradation of certain pigments, potentially leading to a slight darkening or fading of the chili's color over time.
To minimize color changes in minced onions, especially if you're not using them immediately, consider adding a small amount of acid, such as lemon juice or vinegar. The acid helps to inhibit the enzymatic reactions that cause the discoloration.