Ttooleras
🎨

Color Shades Generator

Color Tools

Generate tints (lighter), shades (darker), and tones (desaturated) from any base color for design systems and UI states.. Free, private — all processing in your browser.

#0203175%
#04052f10%
#06084615%
#080a5e20%
#0b0d7525%
#0d0f8c30%
#0f12a435%
#1114bb40%
#1317d345%
#1519ea50%
#2c30ec55%
#4447ee60%
#5b5ef065%
#7375f270%
#8a8cf475%
#a1a3f780%
#b9baf985%
#d0d1fb90%
#e8e8fd95%
#020317
#060846
#0b0d75
#0f12a4
#1317d3
#2c30ec
#5b5ef0
#8a8cf4
#b9baf9
#e8e8fd
Advertisement

The Color Shades Generator produces a full range of variations from a single base color — tints (mixed with white, lighter), shades (mixed with black, darker), and tones (mixed with gray, desaturated). These variations are the building blocks of modern design systems. Tailwind CSS uses 10 shade steps per color (50, 100, 200, ..., 900, 950). Material Design uses lightness levels (50, 100, ..., 900). Any design system needs a consistent scale from very light to very dark for each brand color to handle backgrounds, borders, buttons, hover states, and text hierarchy.

This tool generates any of these scales from a single input color. Enter your brand color, get back 10 shade steps (Tailwind style), Material Design steps, or a custom number of variations. Each shade is mathematically derived using either HSL lightness adjustment (simple and predictable) or perceptual brightness (using OKLCH or LAB for more uniform visual steps, which HSL alone does not guarantee). Export as CSS variables, Tailwind config, or JSON. Use the result to build a complete color system that never requires you to hand-pick a dozen related colors, only to find they don\u2019t feel consistent when you put them side by side.

Color Shades Generator — key features

Tints, shades, and tones

Generate all three variation types from a single base color.

Tailwind-style scale

Produces 10 shade steps (50-950) labeled per Tailwind convention for direct use in Tailwind projects.

HSL or OKLCH

Simple HSL math or perceptual OKLCH for design-system-quality scales with uniform visual steps.

Custom step count

Generate any number of variations from 3 to 20 steps depending on your design needs.

Multiple export formats

CSS variables, Tailwind config, SCSS variables, or JSON for import into design tools.

Accessibility preview

Shows which pairs of shades meet WCAG AA contrast for easy text-on-color decisions.

Copy any shade

One-click copy for any individual shade as hex, RGB, or HSL.

Shareable

URL encodes the base color so you can share a shade scale with collaborators.

How to use the Color Shades Generator

  1. 1

    Enter a base color

    Type a hex (#FF6B35), RGB, or HSL value. The base represents your brand or starting color.

  2. 2

    Pick the scale type

    Tailwind 10-step, Material Design, or custom step count.

  3. 3

    Choose math

    HSL for quick simple scales, OKLCH for perceptually uniform steps (recommended for design systems).

  4. 4

    Review shades

    Inspect the generated tints, shades, and tones with their hex values and Tailwind numbering.

  5. 5

    Export

    Copy as CSS variables, Tailwind config snippet, SCSS, or JSON. Or copy individual shades for ad-hoc use.

Common use cases for the Color Shades Generator

Design systems

  • Brand color expansion: Turn a single brand color into a 10-shade palette suitable for a complete design system.
  • Tailwind custom colors: Generate a Tailwind-compatible scale for a brand color and drop it directly into tailwind.config.js.
  • Material theme building: Create Material-style palettes for Android, iOS, or web apps using Material Design aesthetics.

UI design

  • Button hover and active states: Derive hover and active state colors automatically from the base button color for visual consistency.
  • Background hierarchy: Use lighter tints for subtle backgrounds and darker shades for emphasis in card or section designs.
  • Text color hierarchy: Generate a progression from primary text (darkest) to tertiary text (lighter) for information hierarchy.

Branding

  • Marketing material: Use lighter tints as backgrounds and stronger shades for headlines while staying on brand.
  • Data visualization: Build color ramps for charts and graphs using shades of a single brand color.
  • Presentation deck design: Maintain visual consistency across slides with a systematic shade palette.

Color Shades Generator — examples

Tailwind-style scale

10 shades from one base color, labeled 50-950.

Input
base: #FF6B35
Output
50: #FFF6F2
100: #FFE7D9
200: #FFBD99
300: #FF9466
400: #FF6B35 (base)
500: #E85520
600: #C23F14
700: #932F0F
800: #6A230D
900: #4A1908
950: #290D04

Tints only

Progressively lighter variants.

Input
base: #0066CC (blue)
Output
tint 10%: #0069D1
tint 30%: #3385D6
tint 50%: #66A3DD
tint 70%: #99C1E6
tint 90%: #CCE0F2

Shades only

Progressively darker variants.

Input
base: #0066CC
Output
shade 10%: #005CBA
shade 30%: #00509A
shade 50%: #00447A
shade 70%: #00385A
shade 90%: #001C3C

Tones

Progressively desaturated variants.

Input
base: #FF3300 (bright red)
Output
tone 10%: #F53C0D
tone 30%: #CC4D24
tone 50%: #995C3D
tone 70%: #67685C
tone 90%: #357377 (nearly gray)

CSS variables output

Ready-to-paste CSS variables.

Input
base: #FF6B35, Tailwind scale
Output
--orange-50: #FFF6F2;
--orange-100: #FFE7D9;
--orange-200: #FFBD99;
/* ... through --orange-950 */

Technical details

Three related but distinct color variations:

Tints: mix base color with white. Produces progressively lighter variants. In HSL: increase lightness toward 100%. Simple and predictable, though visually uneven between steps.

Shades: mix base color with black. Progressively darker. In HSL: decrease lightness toward 0%. Same simplicity and caveat as tints.

Tones: mix base color with gray (50% lightness). Progressively more desaturated. In HSL: decrease saturation toward 0%. Good for muted versions of brand colors.

HSL-based scale (simple method): pick N lightness values (e.g., 95%, 90%, 80%, 70%, 60%, 50%, 40%, 30%, 20%, 10%) and apply to base color. Works perfectly for most use cases.

Perceptual scale (OKLCH or LAB): use a perceptually uniform color space so each step feels equally different from the previous. HSL lightness is not perceptually uniform — a step from 50% to 60% feels different from 80% to 90%. OKLCH (or CIELCH or LAB) produces more consistent visual steps.

Tailwind convention: 10 shades labeled 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950. The base color is typically at 500 or 600. Lighter shades (50-400) work for backgrounds and borders; darker shades (600-950) for text and emphasis.

Material Design convention: similar naming (50, 100, 200, ..., 900) with specific lightness and saturation adjustments that follow Google\u2019s design guidelines. The default Material palette was generated with careful color science; replicating it exactly requires the Material Theme Builder, not a simple HSL scale.

The tool offers HSL-based (fast, predictable, good enough for 90% of use cases) and OKLCH-based (perceptually uniform, produces design-system-quality scales). Most users pick HSL unless they have a specific perceptual requirement.

Common problems and solutions

HSL steps feel uneven

HSL lightness is not perceptually uniform — 50% to 60% feels different from 80% to 90%. For design-system quality, use OKLCH or LAB-based scales that produce visually uniform steps.

Lightest shade too pale

Very light tints (50 or 100 in Tailwind) can be nearly white and lose brand identity. Increase saturation at the light end to retain color character, or skip the very-light end for monochromatic text.

Darkest shade too dark

The darkest shade (900 or 950) can be nearly black and indistinguishable from pure black. If this matters, limit the scale to 800 or use a slightly bluer black to differentiate.

Tailwind base at 400 vs 500

Tailwind’s default colors have base at either 400 or 500 depending on the hue. A generated scale may place your intended base at either — check which feels right for your brand.

Accessibility not checked

Harmonious shades are not automatically accessible. Text on light tints may fail contrast. Use the contrast check to verify pairs meet WCAG AA.

Material vs custom scales

Material Design palettes have specific adjustments at each step (not just lightness math). Simple HSL/OKLCH scales approximate Material but do not exactly match Google’s published palettes. Use Material Theme Builder for exact Material compliance.

Dark mode variations

Dark-mode palettes usually invert: the darkest shade becomes the background, lightest becomes text. Generate a separate dark-mode scale or reverse the mapping in your CSS to avoid building two full scales.

Color Shades Generator — comparisons and alternatives

Compared to manually building shades in Figma or Photoshop (by adjusting lightness one by one), this tool generates a full consistent scale in one click with the math guaranteed correct. Hand-picking shades takes much longer and is rarely visually uniform.

Compared to Material Theme Builder, this tool is simpler and works for any color, not just Material palettes. Material Theme Builder remains the right choice for strict Material Design compliance; this tool is for everything else.

Compared to Tailwind\u2019s default color palette, this tool creates custom palettes matching your exact brand color rather than forcing you to pick from preset options. Use Tailwind defaults when you need generic; use this tool for brand-specific scales.

Frequently asked questions about the Color Shades Generator

What is the difference between tints, shades, and tones?

Tints are lighter (mixed with white). Shades are darker (mixed with black). Tones are less saturated (mixed with gray). All three are variations of the same base hue but affect different properties — lightness for tints/shades, saturation for tones.

How many shades should I use in a design system?

10 shades (Tailwind convention) is the common standard. This gives plenty of range for backgrounds, text, and emphasis while being manageable. Material Design also uses 10 steps. Smaller systems might use 5-6 shades per color; larger ones 10-13.

Why does OKLCH produce better scales than HSL?

HSL lightness is not perceptually uniform — a step from 40% to 50% looks different in magnitude than 80% to 90%. OKLCH (and similar perceptual spaces like LAB, CIELCH) adjust for how humans actually perceive brightness, so steps feel evenly spaced.

Can I generate a Tailwind config directly?

Yes. Pick the Tailwind export format and the tool produces a JSON snippet you can paste into tailwind.config.js under theme.extend.colors. The shade numbers match Tailwind conventions exactly.

Should I use the base at 400 or 500?

Depends on brand and use. Tailwind default mostly uses 500, but some hues (like yellow) default to 400 because the darker 500 is visually less recognizable as yellow. Try both and see which makes your base color feel like "the" representative shade.

Will the generated shades be accessible?

Not automatically. You still need to check contrast for text pairs. The tool shows which shade-pair combinations meet WCAG AA for text. Generally, pair 50-300 backgrounds with 700-900 text for good contrast.

How do I use shades for dark mode?

For dark mode, the darkest shades become backgrounds and the lightest become text. You can invert the scale mentally or build a separate dark scale. Many design systems use a single scale with the CSS custom properties swapping between light/dark mode values.

Is the tool output saved on servers?

No. All generation runs in your browser. Brand colors and in-development palettes never leave your machine.

Additional resources

Advertisement

Related tools

All Color Tools

Learn more

Explore more tools

200+ free tools that run in your browser.

Browse all tools →