I'm trying to make a pie chart with categories and subcategories. I want each category to have a common color, with its subsidiary subcategories having shades of that color.

In more concrete terms, I want it to be something like this:

DOGS (Category):
Labrador (Subcategory)
German Sheppard (Subcategory)
Cocker Spaniel (Subcategory)
Chiuaua (Subcategory)
Pug (Subcategory)

CATS (Category):
Persian (Subcategory)
Mainecoon (Subcategory)
Himalayan (Subcategory)

All subcategories of Dog would be a shade of red and all subcategories of Cat would be a shade of blue.
How would I do this?