Tools

Home
HEX to RGBPalette GeneratorOKLCH Color PickerTailwind ColorsTailwind Gradient

Color Tint & Shade Generator

Pick any color and generate tints, shades, and tones with WCAG contrast ratios and export options

Your files never leave your browser
#6366f1 - Base Color
Tints (lighter → white)
Shades (darker → black)
Tones (mixed with gray)

Export Colors

Palette Preview

Click any swatch above to select it as the accent for this preview

Color Harmony Suggestions

Drop in a base color and get evenly spaced tints, shades, and tones — each with its WCAG contrast ratio already calculated. Pick the number of steps, grab the exact HEX/RGB/HSL values, and export the whole scale as CSS variables, SCSS, Tailwind config, or JSON. And everything runs in your browser. Nothing gets uploaded.

How It Works

Pick Base Color
→
Set Step Count
→
Get Tints + Shades

A tint is your color plus white. A shade is your color plus black. The tool divides the range between your base color and pure white (or pure black) into equal steps. If you ask for 10 steps, each tint adds 10% more white and each shade adds 10% more black. It also calculates WCAG contrast ratios for every swatch so you can spot accessibility problems before they ship.

Examples

Building a Blue Button System

You need a primary blue with lighter hover states and darker active states for a design system.

INPUT
Base: #2563EB Steps: 10
OUTPUT
Tint 30%: #7CA1F1 Tint 50%: #92B1F5 Shade 20%: #1E4FBC Shade 40%: #17398D (+ 16 more swatches)

Dashboard Background Grays

Starting from a warm gray, generating a full scale from near-white to near-black for a dashboard UI.

INPUT
Base: #6B7280 Steps: 8
OUTPUT
Tint 12%: #7F8A96 Tint 75%: #D2D5DA Shade 25%: #505660 Shade 87%: #0E0F11

Accessible Brand Red for Text and Backgrounds

A marketing team picked #DC2626 as the brand red. They need a tint light enough for card backgrounds that still passes WCAG AA with dark text, and a shade dark enough to use as text on white.

INPUT
Base: #DC2626 Steps: 10 Check contrast ratios
OUTPUT
Tint 80%: #F5CDCD (4.5:1 vs black ✔) Tint 90%: #FAE6E6 (good for bg) Shade 50%: #6E1313 (7.2:1 vs white ✔) Use shade 50%+ for body text on white

Who Uses This

👨‍💻 Front-End Developers

Generating CSS custom property scales for design tokens in component libraries.

🎨 UI Designers

Creating 10-step color ramps in Figma or Sketch starting from a single brand color.

⚙️ Design System Teams

Building consistent tint/shade scales across primary, secondary, and neutral palettes.

📊 Data Visualization Engineers

Producing sequential color scales for heatmaps and charts from a single base hue.

Common Mistakes

Using too few steps

Three or four steps create large jumps between swatches. You end up without a usable mid-tone for hover states or subtle backgrounds. Bump it to 8–10 steps for most projects.

Ignoring contrast ratios

A tint that looks fine on your monitor might only hit 2.8:1 contrast against white. Always check the WCAG ratio before using a light tint for text or a dark shade as a background behind white text.

Starting from a color that is already too light or too dark

If your base is close to white, the tints will be nearly invisible. If it is close to black, the shades barely differ. Pick a mid-saturation, mid-lightness base for the widest useful range.

Technical Details

Frequently Asked Questions

What is the difference between a tint, a shade, and a tone?

A tint mixes your color with white, making it lighter. A shade mixes it with black, making it darker. A tone mixes it with gray, which desaturates it without necessarily making it lighter or darker. This tool generates tints and shades since those are what most design systems need.

How many steps should I generate for a design system?

Most design systems use 9 or 10 steps (like Tailwind's 50–950 scale). That gives enough granularity for backgrounds, borders, hover states, and text without being overwhelming. If your project is small, 5–6 steps usually covers it.

Can I use these colors with Tailwind CSS?

Yes. Hit the Tailwind export option and you get a ready-to-paste object for your tailwind.config.js colors section. It maps each step to Tailwind's naming convention (50, 100, 200, etc.) so you can drop it straight into your config.

Why do my generated colors look muddy?

That usually happens when your base color is already desaturated or very dark. Shading a dark color pushes it closer to black fast, and the intermediate steps lack enough saturation to look distinct. Try starting from a more vivid mid-range version of your color.

Does this tool store or upload my color data?

No. All calculations happen in your browser using JavaScript. Nothing gets sent to a server. You can verify this by opening your browser's network tab — zero requests fire when you generate a palette.

Share: