Color Shades & Tint Generator
Generate perceptual OKLCH tints and shades from any color — then compare them to naive HSL.
A free color shades generator and tint and shade generator: paste any color, get a full OKLCH ramp with WCAG contrast badges, see how naive HSL stepping differs, and export as CSS, Tailwind, SCSS, or JSON. Runs entirely in your browser.
Perceptual ramp (OKLCH)
Full contrast checker →Naive comparison (HSL lightness stepping)
Tints, shades, and tones — what's the difference?
In color theory, a tint is your base hue mixed with white (lighter variations), a shade is your base hue mixed with black (darker variations), and a tone is your base hue mixed with gray (muted variations). This shade generator produces tints and shades from a single input color — the base color stays anchored in the ramp while lighter and darker steps fan out from it.
Why OKLCH instead of HSL?
Most online color scale generators step lightness in HSL. The problem: HSL lightness isn't perceptually uniform — the same L value can look dramatically different across hues, and saturated colors turn grayish at the extremes. OKLCH's lightness axis is calibrated to human vision, so each step looks evenly spaced. Scroll up to compare the two ramps side-by-side on your own color — the difference is most visible on saturated inputs like bright blue or red.
Need Tailwind's own colors instead?
If you want to look up an existing Tailwind swatch by hex — not generate a custom ramp — use the Tailwind Colors reference. For a full multi-color accessible theme (primary, secondary, neutrals, light + dark mode) from one seed color, try the Shadcn Theme Generator. To convert between hex, rgb, hsl, and oklch formats, see the OKLCH Converter.