Tints, Shades & Tones Generator
Generate lightness, saturation and hue scales from any color. Export to CSS, SCSS, Tailwind and JSON. With WCAG contrast and UI preview.
Generate color scales by adjusting the lightness and saturation of the base color.
Base Color
hsl(207°, 90%, 54%)
Lightness Scale
Saturation Scale
Hue Scale
UI Preview
Example Title
This text uses colors from your lightness scale.
Colors are automatically assigned from the lightness scale: light backgrounds, button from the middle step, text from the darkest step.
Export All Scales
How it works
This generator creates three types of color scales from a base color: lightness scales (tints and shades), saturation scales (tones), and hue scales (hue rotation). It's the essential tool for building professional design systems.
What does this calculator offer?
- Lightness scale — from black to white keeping hue and saturation
- Saturation scale — from gray to full vibrance keeping hue and lightness
- Hue scale — hue rotation keeping saturation and lightness
- WCAG indicator — each tone shows if it has AA/AAA contrast with the base
- Use as base — click any tone to use it as the new base color
- UI preview — button and card mockup using generated colors
- Export — CSS Variables, SCSS, Tailwind Config and JSON
- Random color — for quick exploration
Tint vs Shade vs Tone: Differences
| Variation | Mixed with | HSL Effect | Result |
|---|---|---|---|
| Tint | White | L ↑ (increases) | Lighter, pastel color |
| Shade | Black | L ↓ (decreases) | Darker, deeper color |
| Tone | Gray | S ↓ (decreases) | Muted, subtle color |
Formulas
Tint (mix with white)
Tint = Base + (255 - Base) × factorfactor = 0 (base color) to 1 (pure white)
Shade (mix with black)
Shade = Base × (1 - factor)factor = 0 (base color) to 1 (pure black)
Tone (mix with gray)
Tone = Base + (128 - Base) × factorEquivalent to reducing saturation in HSL
Design system conventions
Tailwind CSS (50-950)
Tailwind uses 11 steps: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950. The 500 is the base color. Generate 10 lightness steps to reproduce this scale.
Material Design (50-900)
Material uses 10 main levels + A100-A700 accent variants. The 500 is the "hero" color. High levels (700-900) are used for active states and text.
Design Tokens
Export your scale as CSS variables or JSON to integrate into your token system. Each step becomes a semantic token: --color-primary-100.
Accessibility
The WCAG badges next to each tone show which steps can be used as text over the base color. Look for AA or AAA to guarantee readability.
Practical Use Cases
Case 1: Brand color design system
Your brand uses blue #3B82F6. You need 11 Tailwind-style variants.
→ Generate 10 lightness steps
→ 50-200: backgrounds, highlights, subtle hovers
→ 300-400: borders, secondary icons
→ 500: primary buttons, links, badges
→ 600-700: button hover, text on light background
→ 800-950: text, headings, dark backgrounds
Case 2: Interactive button states
Primary green button #22C55E.
→ Normal: step 500 (base color)
→ Hover: step 600 (one shade darker)
→ Active/pressed: step 700
→ Focus ring: step 300 at 50% opacity
→ Disabled: step 200 with reduced opacity
Case 3: Cards with visual hierarchy
→ Page background: lightest step (50 or 100)
→ Main card: white or step 50
→ Nested card: step 100
→ Subtle border: step 200
→ Main text: step 900, secondary: step 600
Case 4: Dark mode
Invert the lightness scale for dark mode.
→ Background: step 900 or 950
→ Surface/card: step 800
→ Border: step 700
→ Text: step 100 or 50
→ Buttons: step 400-500 (lighter than in light mode)
Case 5: Semantic color palette
Generate scales for success, warning, error and info.
→ Success: #22C55E → 10 steps → bg-success-100, text-success-700
→ Error: #EF4444 → 10 steps → bg-error-100, border-error-300
→ Warning: #F59E0B → 10 steps → badge-warning-200
→ Export all as CSS variables or JSON tokens