FormatterHQ

Tints and Shades Generator

Enter one colour and get lighter tints, darker shades, muted tones and a complete 50–950 colour scale ready for design tokens and Tailwind.

Loading tool…
Ready.

How to use the Tints and Shades Generator

  1. Enter a Base colour in any CSS format.
  2. Set Steps per row (3–20) for the tints, shades and tones rows.
  3. Name the scale in Variable name, e.g. brand.
  4. Click swatches to copy them, or copy the CSS variables, Tailwind v4 @theme, tailwind.config or SCSS output.

Generate tints, shades and tones from one color

Design systems rarely use a single shade of a colour. You need a pale version for backgrounds, a mid tone for buttons, darker steps for hover states and text. This tints and shades generator derives all of them from one base colour and presents them as a numbered scale you can paste straight into CSS or Tailwind.

What the tints and shades generator creates

  • Tint: the colour mixed with white — lighter and softer.
  • Shade: the colour mixed with black — darker and deeper.
  • Tone: the colour mixed with grey — less saturated, more muted.

Each row starts with your base colour followed by mixes at evenly spaced percentages. With 10 steps, the first tint is about 9% white and the last about 91% white.

The 50–950 scale

Simple mixing with white and black makes colours washed out at the light end and dull at the dark end. The scale therefore works differently: it places your colour at the step whose lightness is closest (for #3b82f6 that is 500), then generates the other steps in OKLCH, adjusting lightness along a curve similar to Tailwind's and reducing chroma towards the extremes so light tints stay clean and dark shades stay rich.

@theme {
  --color-brand-50: #e7f9ff;
  --color-brand-500: #3b82f6;
  --color-brand-950: #10213e;
}

Export formats

  • CSS variables — --brand-500: … in a :root block.
  • Tailwind v4 @theme — enables utilities such as bg-brand-500.
  • tailwind.config — an object for theme.extend.colors in Tailwind v3.
  • SCSS — $brand-500 variables.
  • All values — the plain lists of tints, shades and tones.

Tips

Use steps 50–100 for backgrounds, 500–600 for buttons, 700–900 for text on light backgrounds, and always confirm text pairs with the contrast checker. To compare your scale with the built-in Tailwind palette, look up the nearest classes in the Tailwind color finder. Need a smooth blend between two different colours instead? Try the color mixer.

How many steps do you need?

Eleven steps (50–950) are the de-facto standard since Tailwind popularised them, and they cover backgrounds, borders, fills, hover states and text in both light and dark themes. Smaller projects can get by with five steps — for example 50, 200, 500, 700 and 900 — while data-heavy dashboards sometimes need the in-between tints, shades and tones rows for charts and heat maps. The Steps per row slider controls only those three rows; the 50–950 scale always has eleven steps.

Dark mode

A common approach is to invert the scale in dark mode: backgrounds use 900–950, text uses 100–200 and accents move one or two steps lighter so they keep enough contrast against dark surfaces.

Input formats

The base colour field accepts HEX, rgb(), hsl(), oklch() and colour names, so you can paste a value from a brand guide or from your browser's developer tools. Every swatch on the page can be clicked to copy its HEX code, which is convenient when you only need one or two steps rather than the whole scale.

Privacy

The tool runs entirely in your browser. Nothing you type or paste is sent to our servers.

Frequently asked questions

What is the difference between a tint and a shade?
A tint is a colour mixed with white, so it gets lighter. A shade is a colour mixed with black, so it gets darker. Mixing with grey produces a tone.
Why is my base color at 400 instead of 500?
The base colour is placed at the step whose target lightness is closest to it. Light colours such as yellow naturally land at 300 or 400, dark colours at 600 or 700.
Can I use the scale in Tailwind CSS v4?
Yes. Copy the Tailwind v4 @theme tab into your CSS and utilities such as bg-brand-500 and text-brand-900 become available.
Are the scales the same as Tailwind’s own colors?
They follow a similar lightness curve but are generated from your colour, so they will not match Tailwind’s hand-tuned palette exactly.

Last updated September 26, 2026

Related tools

Color Palette Generator Generate colour palettes from a base colour with harmony rules (complementary, triadic, analogous…) or at random, lock favourites and export CSS. Random Color Generator Generate random colours as HEX, RGB or HSL codes with a swatch preview for inspiration and testing. Color Blindness Simulator See how images and colour palettes look with protanopia, deuteranopia, tritanopia and other colour-vision deficiencies. Color Contrast Checker (WCAG) Check the WCAG 2 contrast ratio of text and background colours for AA and AAA, preview it live and get the closest passing colour. Color Converter Convert any colour to HEX, RGB, RGBA, HSL, HSV and CMYK at once. Accepts CSS names and any notation. Color Mixer Mix two colours at any ratio and generate blend steps in OKLab, RGB, Lab, LCH or HSL, with CSS color-mix() output. Colortone to CMYK Converter Convert a named colour tone (e.g. steelblue, tomato) or any colour to CMYK, with its tints, shades and tones. Colortone to HEX Converter Convert a named colour tone (e.g. steelblue, tomato) or any colour to HEX, with its tints, shades and tones. Colortone to HSV Converter Convert a named colour tone (e.g. steelblue, tomato) or any colour to HSV, with its tints, shades and tones. Colortone to RGB Converter Convert a named colour tone (e.g. steelblue, tomato) or any colour to RGB, with its tints, shades and tones. HEX to CMYK Converter Convert HEX colour values to CMYK instantly, with a live colour swatch preview, colour picker and copy buttons. HEX to Colortone Converter Generate the tints, shades and tones of a HEX colour as a palette with swatches and ready-to-copy codes.