How to Make Red Cabbage pH Indicator
Red cabbage contains a pigment molecule called flavin (an anthocyanin). This water-soluble pigment is also found in apple skin, plums, poppies, cornflowers, and grapes. Very acidic solutions will turn anthocyanin a red color. Neutral solutions result in a purplish color. Basic solutions appear in greenish-yellow. Therefore, it is possible to determine the pH of a solution based on the color it turns the anthocyanin pigments in red cabbage juice.
The color of the juice changes in response to changes in its hydrogen ion concentration. pH is the -log[H+]. Acids will donate hydrogen ions in an aqueous solution and have a low pH (pH < 7). Bases accept hydrogen ions and have a high pH (pH > 7).