Pastel colour generator — a soft version of any colour, plus a matching set

Enter a bold colour and choose how soft you want it; the generator keeps the hue, raises lightness and lowers chroma in OKLCH, and adds a set of seven matching pastels.

Live demo · real result from this tool

Press Generate to create a result.

Processed on your device — nothing is uploaded.

How to use the pastel generator

  1. Enter the Bold colour you want to soften.
  2. Drag Softness from 0% (stronger pastel) to 100% (very pale).
  3. Read the Pastel HEX, its OKLCH value and its Contrast with dark text #1f2937.
  4. Compare the original and pastel swatches.
  5. Pick extra colours from the Matching pastel set for tags, charts or backgrounds.

What it does and when to use it

Pastels are the quiet colours of an interface: tag and badge backgrounds, chart fills behind labels, calendar events, alert backgrounds, illustration fills. Making them by hand often goes wrong. Lowering saturation in HSL tends to give muddy greys, and different hues come out at different brightness. This generator works in OKLCH, so the pastel keeps your hue, and every colour in the matching set looks equally light.

Use it to create a soft background for a brand colour, or a family of category colours for labels. If you need several steps between your colour and white, the tints and shades generator gives an even ramp. For complete themes, the UI colour scheme builder creates surfaces and text colours, and the contrast grid checks a whole set of pastels against your text colours.

How it works

From the Softness value s (0 to 1) the tool sets two limits:

  • target lightness L = 0.80 + 0.15 × s
  • maximum chroma C = 0.11 − 0.08 × s

Your colour is converted to OKLCH. Its lightness is raised to the target if it is lower, its chroma is cut to the maximum if it is higher, and the hue is kept. The result is gamut-mapped to sRGB. The matching set uses the target lightness and the maximum chroma (never below 0.04) at seven hue offsets.

Worked examples

These are the generator’s own results for rose #e11d48.

Softness Pastel Contrast with #1f2937
0% #fca0a3 7.51:1
60% #ffcbcc 10.25:1
100% #ffe7e7 12.46:1

At 60% the pastel is oklch(88.77% 0.0592 17.49), and the matching set is #ffcbcc, #f9d3b1, #dedeaf, #b4e9d3, #b0e4fb, #d8d5ff and #f4cced: pink, peach, cream, mint, sky, lavender and lilac.

Limits and tips

  • Pastels are too light for text on white. Use them as backgrounds with dark text on top.
  • Very pale pastels can be hard to tell apart for people with colour-vision deficiency; add labels or icons.
  • The colours are calculated in your browser.

Frequently asked questions

What makes a colour pastel?
High lightness and low colourfulness. A pastel keeps a clear hue, so it does not read as grey, but it is pale and gentle. In OKLCH terms that means a lightness around 0.8 to 0.95 and a small chroma.
What does the Softness slider change?
At 0% the pastel has OKLCH lightness of at least 0.80 and chroma of at most 0.11. At 100% it has lightness of at least 0.95 and chroma of at most 0.03. Higher softness means paler and greyer.
Why do pastels work well behind text?
They are light, so dark text stands out on them. The tool shows the contrast with the dark grey
How is the matching set made?
It uses the same lightness and chroma as your pastel at seven hues, your colour's hue plus 0°, 45°, 90°, 150°, 210°, 270° and 315°. Because they share lightness and chroma in OKLCH, they look like one family.
What happens with a colour that is already pale?
If it is already lighter and softer than the target, it is kept as it is. White, for example, stays

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close