Shade & Tint Generator
Generate 10–12 step tints and shades from any color — perfect 50–950 UI ramps with CSS and Tailwind export.
Shades & tints configuration
Set the base color and how the ramps are generated.
HEX
#3b82f6
HSL
hsl(217.2, 91.2%, 59.8%)
Steps
10
Tints & Shades
Full lightness range at the base hue
#021431
WCAG 18.3 · 10% L
#04265C
WCAG 14.6 · 19% L
#063787
WCAG 11 · 28% L
#0849B3
WCAG 8 · 37% L
#0A5BDE
WCAG 5.9 · 46% L
#2171F5
WCAG 4.7 · 55% L
#4C8DF7
WCAG 6.5 · 63% L
#78A9F9
WCAG 8.8 · 72% L
#A3C4FB
WCAG 11.8 · 81% L
#CEE0FD
WCAG 15.7 · 90% L
Monochrome
Pure black → white — minimalist, high-contrast
#000000
WCAG 21 · 0% L
#1C1C1C
WCAG 17 · 11% L
#393939
WCAG 11.5 · 22% L
#555555
WCAG 7.5 · 33% L
#717171
WCAG 4.9 · 44% L
#8E8E8E
WCAG 6.4 · 56% L
#AAAAAA
WCAG 9 · 67% L
#C6C6C6
WCAG 12.3 · 78% L
#E3E3E3
WCAG 16.4 · 89% L
#FFFFFF
WCAG 21 · 100% L
Analogous
Adjacent hues — harmonious schemes
#02312B
WCAG 14.2 · 10% L
#04595C
WCAG 8.1 · 19% L
#066D87
WCAG 5.9 · 28% L
#0874B3
WCAG 5 · 37% L
#0A6CDE
WCAG 5 · 46% L
#2160F5
WCAG 5.2 · 55% L
#4C62F7
WCAG 4.8 · 63% L
#7C78F9
WCAG 5.9 · 72% L
#B5A3FB
WCAG 9.6 · 81% L
#DFCEFD
WCAG 14.4 · 90% L
Complementary
Base and its complement — dynamic combinations
#021431
WCAG 18.3 · 10% L
#04085C
WCAG 17.6 · 19% L
#2B0687
WCAG 14.2 · 28% L
#7208B3
WCAG 8.7 · 37% L
#D40ADE
WCAG 4.9 · 46% L
#F521B8
WCAG 5.8 · 55% L
#F74C8D
WCAG 6.4 · 63% L
#F9787E
WCAG 8 · 72% L
#FBBCA3
WCAG 12.8 · 81% L
#FDEBCE
WCAG 18 · 90% L
Muted
Low saturation — sophisticated, understated
#364763
WCAG 9.4 · 30% L
#41577A
WCAG 7.3 · 37% L
#4D6790
WCAG 5.7 · 43% L
#5976A6
WCAG 4.6 · 50% L
#6F89B2
WCAG 5.9 · 57% L
#859BBE
WCAG 7.4 · 63% L
#9CADC9
WCAG 9.2 · 70% L
#B2BFD5
WCAG 11.3 · 77% L
#C8D1E1
WCAG 13.7 · 83% L
#DEE4ED
WCAG 16.4 · 90% L
Vibrant
High saturation — accents and attention
#0A4CB8
WCAG 7.7 · 38% L
#0A51C5
WCAG 7 · 41% L
#0B57D2
WCAG 6.3 · 43% L
#0C5CDF
WCAG 5.8 · 46% L
#0C61EC
WCAG 5.3 · 49% L
#1368F3
WCAG 4.9 · 51% L
#2070F3
WCAG 4.7 · 54% L
#2D79F4
WCAG 5.2 · 57% L
#3A81F5
WCAG 5.6 · 59% L
#4789F5
WCAG 6.2 · 62% L
Soft
High lightness — pastel and gentle themes
#668DCC
WCAG 6.2 · 60% L
#7497D1
WCAG 7.1 · 64% L
#81A1D5
WCAG 8 · 67% L
#8FABDA
WCAG 9 · 71% L
#9CB5DE
WCAG 10.1 · 74% L
#AAC0E3
WCAG 11.4 · 78% L
#B8CAE7
WCAG 12.6 · 81% L
#C5D4EC
WCAG 14 · 85% L
#D3DEF0
WCAG 15.5 · 88% L
#E0E8F5
WCAG 17 · 92% L
Warm
Hue shifted warm — inviting and energetic
#022731
WCAG 15.7 · 10% L
#044A5C
WCAG 9.8 · 19% L
#066D87
WCAG 5.9 · 28% L
#0890B3
WCAG 5.7 · 37% L
#0AB3DE
WCAG 8.5 · 46% L
#21CAF5
WCAG 10.8 · 55% L
#4CD4F7
WCAG 12.1 · 63% L
#78DEF9
WCAG 13.6 · 72% L
#A3E9FB
WCAG 15.6 · 81% L
#CEF3FD
WCAG 17.9 · 90% L
Total colors
80
Avg lightness
55%
WCAG average
10
Selected
0
Export Tints & Shades
Name the scale, then copy as CSS variables or a Tailwind object.
CSS variables
:root {
--brand-100: #021431;
--brand-200: #04265c;
--brand-300: #063787;
--brand-400: #0849b3;
--brand-500: #0a5bde;
--brand-600: #2171f5;
--brand-700: #4c8df7;
--brand-800: #78a9f9;
--brand-900: #a3c4fb;
--brand-1000: #cee0fd;
}Tailwind object
brand: {
"100": "#021431",
"200": "#04265c",
"300": "#063787",
"400": "#0849b3",
"500": "#0a5bde",
"600": "#2171f5",
"700": "#4c8df7",
"800": "#78a9f9",
"900": "#a3c4fb",
"1000": "#cee0fd",
}Guide
Tints, shades and tones — what's the difference
All three start from one base hue and change how light, dark or muted it looks. A tint is the base mixed with white, so it gets lighter and softer — think of a sky blue lightening toward a pale, airy blue. A shade is the base mixed with black, so it gets darker and heavier, like that same blue deepening toward navy. A tone is the base mixed with grey, which lowers the saturation and makes the color calmer without simply lightening or darkening it. Tints and shades are the workhorses of UI design because they keep the hue recognisable while giving you a whole family of related values; tones are used more sparingly when you want to dial back intensity. This generator builds tints and shades from any starting color, and can stitch them into a single light-to-dark ramp.
Why a UI needs a 50–950 color scale
A single brand color is rarely enough to build an interface. A button needs one value, its hover state a slightly darker one, a disabled state a lighter one, a subtle background an even lighter one, and the text on top of it a much darker one for contrast. Rather than hand-pick each of these, modern design systems define a numbered scale — usually 50, 100, 200 … through 900 and 950 — where 50 is the lightest tint and 950 is the darkest shade. The middle of the scale (around 500) is typically the "true" brand color.
Once a color is expressed as a scale, the steps map naturally onto UI roles. The 50–100 steps work as page or card backgrounds; 200–300 make good borders and dividers; 500–600 are your primary fills and the default state of a button; 700 is a reliable hover or active state; and 800–950 give you text and headings that stay readable on the lighter steps. Because every step shares the same hue, the whole interface feels cohesive, and swapping the base color re-themes everything at once.
Linear vs perceptual (OKLCH) ramps
There is more than one way to walk a color from light to dark, and the method changes how even the result looks. The simplest approach is a linear mix: blend the base toward white for tints and toward black for shades, in equal numeric steps. It is fast and predictable, but our eyes are not linear — the human visual system is far more sensitive to changes in dark tones than light ones, so a mathematically even RGB blend can look bunched-up at one end and stretched at the other.
A perceptual ramp fixes this by spacing the steps evenly in a perceptually-uniform space such as OKLCH, where equal numeric differences in lightness look like equal visual differences. Ramps built this way feel smoother and more balanced, with no single step jumping out as too dark or too washed-out. That is why design systems increasingly define their scales in OKLCH. This tool keeps the hue and saturation steady while stepping lightness, which gives you a clean, even scale that is easy to reason about and to fine-tune by hand.
Exporting your scale to Tailwind and CSS variables
A scale is only useful if it is easy to drop into your codebase. Export it as CSS custom properties — a block of --brand-50 through --brand-950 declarations on :root — and you can reference any step anywhere in your styles, switch themes by overriding the variables, and keep a single source of truth. Or export a Tailwind color object, a plain { 50: '#…', 100: '#…' } map you paste under colors in your theme so utilities like bg-brand-500 and text-brand-900 just work. Name the scale once and both exports stay in sync with whatever base color and ramp style you have chosen, so re-theming is a copy-and-paste away.
Learn more
For a reference set of professionally-tuned scales, see the Tailwind CSS color palette, and for the perceptual color space behind even ramps, read the MDN oklch() reference.
Frequently asked questions
- What's the difference between a tint and a shade?
- A tint is a color mixed with white (lighter); a shade is a color mixed with black (darker). A tone mixes in grey. This tool generates all of them from one base color.
- How many steps should a UI color scale have?
- Most design systems use 10–11 steps (50, 100, 200 … 900, 950). That gives you enough range for backgrounds, borders, hover states and text without an unwieldy number of tokens.
- What is the 50–950 token system?
- It's the numbering popularized by Tailwind CSS: 50 is the lightest tint and 950 the darkest shade, with 500 near the base. The numbers map to roles — light backgrounds at 50–100, borders around 200–300, primary fills at 500–600, and text at 700–950.
- Why does a perceptual (OKLCH) ramp look more even?
- Equal steps in raw lightness don't look equal to the eye. OKLCH spaces steps by perceived lightness, so the ramp reads as smooth rather than bunching up in the mid-tones.
- How do I export the scale to Tailwind?
- Copy the generated Tailwind color object and drop it into your theme's colors. Each step becomes a named shade you can use as bg-brand-100, text-brand-700, and so on.
- Is it free? Do I need to sign up?
- Yes, it's completely free with no signup — everything runs in your browser.
Related tools
Color Picker
Pick any color visually and copy accurate HEX, RGB, HSL and CMYK codes — no signup.
Palette Generator
Generate harmonious color palettes from any base color — complementary, analogous, triadic and more, with instant CSS export.
Brand Color Kit
Build a complete brand color system with semantic roles and 50–950 ramps — export CSS variables, Tailwind theme and design tokens.
Contrast Checker
Test color contrast against WCAG 2.1 AA/AAA — live pass/fail, font-size rules, and a real component preview.
Color Format Converter
Convert any color between HEX, RGB, HSL, HSV, CMYK and OKLCH instantly — and copy ready-to-paste CSS, SCSS or Tailwind.
Complementary Color Finder
Find the perfect complementary (180° opposite) color for any shade, with HEX/RGB/HSL and contrast info.
