Start a project

Tool 74 of 425 · Colour scales

Tint & Shade Generator

Builds a full tint and shade scale from one colour, with contrast ratios and CSS variables.

Tint & Shade Generator

Your input

Result

StepHexvs whitevs black
CSS custom properties

01

What it does

Builds a full tint and shade scale from one colour, with contrast ratios and CSS variables.

  • 11-step scale from 50 to 950
  • WCAG contrast against white and black
  • CSS custom properties
  • Live swatches

02

Private by design

Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

03

What you get

A 50–950 scale, swatches and CSS, with a Copy and a Download button on every result.

  • Tints
  • Shades
  • Colour scale

Why it matters

A brand colour on its own isn't a palette: buttons, borders and backgrounds need lighter and darker steps that still read well.

The contrast column shows which steps can carry white or black text at WCAG AA.

How to use it

  1. Type or paste your input; the example shows the format.
  2. Press Generate scale. Results also update as you type.
  3. Read the summary line, then the table, notes or output below it.
  4. Copy or download what you need. Nothing leaves this page.

FAQ

How are the steps made?

Tints mix the colour with white and shades mix it with black, in sRGB, at fixed percentages.

Is 500 my original colour?

Yes. The base colour sits at 500.

Is my input uploaded?

No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

Can I rely on the result?

It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

Work with me

Want a site that gets these right?

I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

All developer tools · Back to leej.uk