This looks like a fun Chemistry activity to do at home:

Making a Red Cabbage pH Indicator
https://www.compoundchem.com/2017/05/18/red-cabbage/

We all know examples of everyday substances that can be classified as acids or alkalis: lemon juice is acidic, bleach is alkaline, and so on. Another substance that can be found in your kitchen can be used to test other substances to determine whether they are acidic or alkaline. The chemicals that give red cabbage its colour also allow it to be used as a pH indicator – this post looks at how!

You probably remember the pH scale from school chemistry lessons, but in case you don’t here’s a brief reminder. In short, substances are deemed acidic if they have a pH lower than 7, and alkaline if they have a pH higher than 7. Indicators are chemicals which change colour at different acidities or alkalinities, allowing us to determine whether a substance is acidic or alkaline.

Red cabbage gets its colour from compounds called anthocyanins in its leaves. These anthocyanins are peculiar in that they’re pH-sensitive, and this allows them to be used as pH indicators. If they are extracted from the red cabbage leaves by boiling the cabbage in water, the resulting solution can be added to different substances to test them. The pH of the solution they are added to can affect the structure of the anthocyanin molecules, subtly changing them in a way that causes them to appear a different colour, as shown in the graphic above.

Red cabbage is just one example of something you might find at home that can be used in this manner. The red leaves of poinsettia plants, common around Christmas time, can also be used!

Background info on pH Scale and explanation of the graphic below can be found at https://www.compoundchem.com/2015/07/09/ph-scale/

Acids and Alkalis - The pH Scale