UI Design Token & Palette Builder

Color Shades & Tints Generator

Generate 10 lighter tints and 10 darker shades from any base HEX color with automatic text contrast and CSS token export.

Presets:

Tints (Adding White)

10 lighter steps from #4F46E5 toward pure white
+10%#6159E8rgb(97, 89, 232)
+20%#726BEArgb(114, 107, 234)
+30%#847EEDrgb(132, 126, 237)
+40%#9590EFrgb(149, 144, 239)
+50%#A7A3F2rgb(167, 163, 242)
+60%#B9B5F5rgb(185, 181, 245)
+70%#CAC8F7rgb(202, 200, 247)
+80%#DCDAFArgb(220, 218, 250)
+90%#EDEDFCrgb(237, 237, 252)
+100%#FFFFFFrgb(255, 255, 255)

Shades (Adding Black)

10 darker steps from #4F46E5 toward pure black
-10%#473FCErgb(71, 63, 206)
-20%#3F38B7rgb(63, 56, 183)
-30%#3731A0rgb(55, 49, 160)
-40%#2F2A89rgb(47, 42, 137)
-50%#282373rgb(40, 35, 115)
-60%#201C5Crgb(32, 28, 92)
-70%#181545rgb(24, 21, 69)
-80%#100E2Ergb(16, 14, 46)
-90%#080717rgb(8, 7, 23)
-100%#000000rgb(0, 0, 0)

Color Theory: Building Cohesive UI Design Systems

Modern digital product design requires much more than a single brand color. To build accessible buttons, hover states, card backgrounds, modal backdrops, and active focus rings, UI/UX engineers construct multi-step color scales (such as Tailwind CSS's 50, 100, 200, ... 900 scale).

By mathematically deriving Tints (mixing with white) and Shades (mixing with black), you maintain consistent hue and chromatic balance across your interface while generating the necessary luminosity contrast to satisfy WCAG 2.1 AA accessibility guidelines (4.5:1 for normal body copy, 3:1 for large headers and interactive icons).

Color Modifications Breakdown

ModificationPrimary AdditionEffect on HueCommon UI Applications
TintPure White (#FFFFFF)Increases lightness / luminanceCard backgrounds, badges, hover overlays
ShadePure Black (#000000)Decreases lightness / darknessActive button states, borders, typography
ToneNeutral Gray (#808080)Reduces saturation (chroma)Muted borders, secondary disabled text

How to Use

  1. Click the color square or type a 6-digit HEX code.
  2. Click on any generated swatch to copy its HEX value.
  3. Click Copy CSS Variables to paste into your design system.
  4. Export JSON palette for design tools like Figma or Penpot.

Frequently Asked Questions

In color theory: a Tint is created by adding pure white to a base hue to increase lightness; a Shade is created by adding pure black to darken a hue; and a Tone is created by adding neutral gray (black + white) to desaturate the color without altering lightness drastically.

The tool breaks the base HEX code into Red, Green, and Blue channels (0-255). For tints, it calculates linear interpolation towards pure white (255, 255, 255). For shades, it scales each channel downward toward pure black (0, 0, 0) across 10 progressive 10% steps.

Yes. Click the "Copy CSS Variables" button to generate a clean, copy-ready :root { --color-tint-10: ... } stylesheet snippet compatible with Tailwind CSS, Bootstrap, and vanilla modern CSS design tokens.

The generator automatically computes perceived relative luminance for each swatch using standard W3C contrast algorithms and renders white or dark text labels dynamically to maintain legibility.

Yes, our tool is 100% free with unlimited color palette generations, instant HEX/RGB clipboard copying, and zero account registration.

Explore Related Tools

Hand-picked utilities and calculators related to this tool.

Color Converter Tools