Free tool
Runs in your browserColor Scale Generator
Turn one color into an 11-step scale from 50 to 950, with your exact color kept in place. Copy it as CSS variables, Tailwind v4, JSON, or design tokens.
What it does
Turn one color into an 11-step scale from 50 (lightest) to 950 (darkest), the same shape as Tailwind's color scales. Your exact color stays in the scale, at the step closest to its lightness, so a brand color is never nudged.
How to use it
- Enter your color and name the scale, for example "brand": lowercase letters, numbers, and hyphens, up to 20 characters.
- Turn on the neutral scale if you also want matching grays with a faint hint of your hue.
- Copy or download the scale as CSS variables, Tailwind v4 @theme, JSON, or W3C design tokens.
How the steps are made
Each step has a fixed lightness in OKLCH, a color space where equal steps look equally far apart. The hue stays the same from 50 to 950, and the color strength (chroma) tapers toward the lightest and darkest steps, never beyond what a screen can show. A color that is almost gray gets a pure gray scale. Every step shows whether white or black text reads better on it, with the ratio and its AA or AAA result.
Related: color pages, each with its own scale · Color System Builder
Private by design
Your code never leaves your browser. Colors you type here stay on your device.
Results use the same color engine as the builder, judged on the final 8-bit colors, with WCAG 2.2 deciding pass or fail.