Turn any colour into a full shade ramp (50 to 900), like a Tailwind colour scale, and copy it as CSS variables.
That's the convention used by Tailwind CSS and many design systems for a colour's shade scale, from lightest (50) to darkest (900).
Each step keeps the same hue and saturation as your base colour, only changing the lightness.