Betanin, or Beetroot Red, is a red glycosidic food dye obtained from beets; its aglycone, obtained by hydrolyzing away the glucose molecule, is betanidin. As a food additive, its E number is E162.
The color of betanin depends on pH; between four and five it is bright bluish-red, becoming blue-violet as the pH increases.