Color Shades Generator: Tints & Shades Scale
Turn one color into a complete 50–950 scale of tints and shades, check contrast for every step and export it for CSS, Tailwind, SCSS or JSON.
Click any swatch to copy its HEX code. “W” and “B” show WCAG contrast with white and black text; ✓ means at least 4.5:1 (AA for normal text).
How the Shades Generator Works
Your base color becomes step 500. Lighter steps (50–400) are tints created by mixing the base with white, and darker steps (600–950) are shades created by mixing it with black. The mix percentages are fixed, so every scale is predictable and consistent:
| Step | Mix | Typical use |
|---|---|---|
| 50 | 95% white | Page and section backgrounds |
| 100 | 90% white | Subtle backgrounds, hover states |
| 200 | 75% white | Borders, badges |
| 300 | 60% white | Disabled states, decorative fills |
| 400 | 30% white | Icons, accents |
| 500 | Base color | Brand color, primary buttons |
| 600 | 15% black | Button hover |
| 700 | 30% black | Pressed states, links |
| 800 | 45% black | Headings on light backgrounds |
| 900 | 60% black | Text, dark surfaces |
| 950 | 75% black | Dark mode backgrounds |
Learn more about the difference between tints, shades and tones in Tint vs Shade vs Tone.
Built-In Contrast Check
Each swatch shows its WCAG 2 contrast ratio with white (W) and black (B) text, and the label on the swatch uses whichever has more contrast. A ✓ marks ratios of at least 4.5:1, the AA minimum for normal text. For other combinations, use the Color Contrast Checker.
Export Formats
- CSS variables: paste into your stylesheet and use
var(--brand-500). - Tailwind: add to
theme.extend.colorsand use classes likebg-brand-500. - SCSS: Sass variables such as
$brand-500. - JSON: design tokens for apps and design tools.
Change the Color name field to rename the tokens (letters, numbers and hyphens).
Tips
- Pick a mid-tone base color; very light or very dark bases leave little room for a full scale.
- Use 50–100 for backgrounds, 500–600 for buttons and 800–900 for text.
- Build scales for your neutral gray and accent colors too, so your whole interface stays consistent. See How to Choose a Website Color Palette.
Related Learning Guides
Frequently Asked Questions
What is a color scale?
A color scale is a set of lighter and darker versions of one color, usually numbered from 50 to 950, used consistently across a design system.
How are the shades calculated?
Steps 50–400 mix your base color with white, and steps 600–950 mix it with black, at fixed percentages shown in the table above.
Can I use the scale with Tailwind CSS?
Yes. Choose the Tailwind tab, copy the config and add it to theme.extend.colors in your Tailwind configuration.
What do the W and B numbers mean?
They are WCAG 2 contrast ratios between the swatch and white (W) or black (B) text. A ✓ means the ratio is at least 4.5:1.
Is my color data stored?
No. The scale is generated in your browser and nothing is sent to our server.