Tailwind Shade Generator
One brand colour in, a full 50 to 950 scale out, ready for Tailwind v4 or v3
About Tailwind Shade Generator & FAQs
Pick a base colour and get eleven shades from 50 to 950, built with even OKLCH lightness steps so they look evenly spaced. Each shade shows its contrast ratio against white and black. Export as Tailwind v4 @theme variables, a v3 config or plain CSS variables. Runs in your browser.
Why OKLCH and not HSL?
In HSL, yellow at 50% lightness looks far brighter than blue at 50%. OKLCH lightness matches what the eye sees, so equal steps look equal for any hue. Tailwind v4 defines its own palette in OKLCH for the same reason.
Which step is my original colour?
By default the step closest in lightness to your colour is your exact colour, marked base. Turn that off to get a scale that follows the lightness steps strictly.
How do I read the contrast numbers?
They are WCAG 2 contrast ratios against white and black text. 4.5 or more passes AA for body text, 3 or more passes for large text and icons, 7 or more passes AAA.
How do I add the colours to Tailwind v4?
Paste the @theme block into your main CSS file after the Tailwind import. Utilities such as bg-brand-500 and text-brand-700 then work straight away. For v3, merge the JSON into tailwind.config.js: it already has the theme.extend.colors shape.
Extensible Module
Component src/tools/founder/web-text/TailwindShadesTool.tsx; pure logic and its node self-check in logic.ts / logic.test.mjs.
src/tools/tailwind-shade-generator/