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:

StepMixTypical use
5095% whitePage and section backgrounds
10090% whiteSubtle backgrounds, hover states
20075% whiteBorders, badges
30060% whiteDisabled states, decorative fills
40030% whiteIcons, accents
500Base colorBrand color, primary buttons
60015% blackButton hover
70030% blackPressed states, links
80045% blackHeadings on light backgrounds
90060% blackText, dark surfaces
95075% blackDark 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.colors and use classes like bg-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.

Scroll to Top