In onion pink color is due_____ ?

In onion k color is due_____ ?

A. anthocyanin
B. Carotene
C. Xanthophylls
D. None of these

It comes in various colours ranging from white to pale yellow, orange, k and dark purple. The colour of the onion is due to the presence of anthocyanins and anthoxanthins which belong to the class of Flavonoids.