Carminic acid is a red glucosidal hydroxyanthrapurin that occurs naturally in some scale insects, such as the cochineal and the Polish cochineal. The insects produce the acid as a deterrent to predators. Carminic acid is the colouring agent in carmine.