Tailwind shade generator

Lupinum Colors

Tokens use --color-brand-*

Shade 800Your color, exact

White text 7.11 AAA, black text 2.95 fails

%
°

Curves

Lightness44.8%100%50%0%
Chroma0.1290.300.150.00
Hue144.5°159°144°129°

Drag a point. Or focus it: ↑↓ change the value, Shift for bigger steps, ←→ move between shades.

Contrast

The pairs the preview uses. WCAG 2 ratios, a first check rather than a guarantee.
Light
AaText on page tint900 on 508.60Passes AAA
AaBadge800 on 1006.57Passes AA
AaLink in a card600 on white3.12Large text only
AaButton labelwhite on 6003.12Large text only
AaFocus ring500 on white2.07Fails 3:1
Dark
AaText on page tint100 on 95013.73Passes AAA
AaBadge200 on 8006.07Passes AA
AaLink in a card400 on 9005.51Passes AA
AaButton labelwhite on 5002.07Fails
AaFocus ring500 on 9004.31Passes 3:1
Calibrated with the color definitions of Tailwind CSS 4.3.3. Lupinum Colors is independent and is not affiliated with or endorsed by Tailwind Labs.How it works

Color scales you can explain

Lupinum Colors turns one HEX, RGB, HSL, or OKLCH value into a complete Tailwind-style palette. The generated scale is a starting point, not a black box: every shade remains visible, editable, testable, and reversible.

Start with any CSS color

Keep the exact color or fit it to the calibrated Tailwind curve. Choose its 50–950 anchor yourself, or let the generator infer the closest position.

Shape the complete scale

Edit lightness, chroma, and hue directly. Compare nearby Tailwind families, refine the light and dark ends, and undo any committed change.

Test before handoff

Preview the palette in real interface roles, inspect every foreground and background contrast pair, and review gamut warnings before exporting tokens.

Copy production-ready output

Export a Tailwind CSS v4 @theme block, standard CSS custom properties, or JSON without creating an account or uploading your brand colors.

Calibrated, not improvised

The generator is calibrated against all 26 color families in Tailwind CSS 4.3.3. It uses OKLCH as the editable source of truth, then maps colors into your chosen display gamut. That keeps the method inspectable and the exports internally consistent.

Tailwind color generator questions

Yes. The Tailwind export produces an @theme block with color variables for shades 50 through 950. CSS and JSON exports are available for other workflows.

OKLCH separates perceived lightness, color intensity, and hue. That makes the progression between shades easier to inspect and tune than a list of unrelated HEX values.

No. Palette generation, editing, contrast checks, and exports run in your browser. There is no account and your palette values are not sent to Lupinum. Share links store the palette after the # in the URL, which browsers do not send to the server.

No. Lupinum Colors is an independent tool by Lupinum and is not affiliated with or endorsed by Tailwind Labs.