Component variant color

I’m new to Figma and was in the process of creating the color page of a new style guide. What I want to do is create a color swatch, turn it into a component, then create variants of that swatch component and change their tint (75%, 50%, 25%). I assumed when I created the variants that if I change the color of the main component the tint variants would also change. However, they do not.

Any help would be appreciated. Thanks!