Colour difference calculator — Delta E 2000, Delta E 76 and OKLab distance

Enter two colours to measure how different they look, as ΔE2000, ΔE76 and OKLab distance, with a rule-of-thumb description and the WCAG contrast between them.

Live demo · real result from this tool
ΔE2000 (CIEDE2000)10.88
What it means (rule of thumb)
Clearly different colours
ΔE76 (CIE76)
18.98
ΔE OK (OKLab distance)
0.0823
WCAG contrast between them
1.41:1

Colours

Processed on your device — nothing is uploaded.

How to use the colour difference calculator

  1. Enter the First colour and the Second colour in any CSS notation, or use the pickers.
  2. Read ΔE2000 (CIEDE2000), the main result, and its What it means label.
  3. Compare ΔE76 and ΔE OK if you need to match another tool’s method.
  4. Check the WCAG contrast between them if the colours will sit on top of each other.

What it does and when to use it

ΔE (Delta E) is a number for how different two colours look. Designers use it to decide whether a re-created brand colour is close enough, whether two chart colours are distinct, or whether a hover state is visible. Developers use it to merge near-duplicate colours in a stylesheet.

A single number is easier to agree on than “looks about the same”. For named matches, the colour name finder uses the same OKLab distance. To find the closest Tailwind class, use the nearest Tailwind colour tool. For text legibility, the contrast checker is the right test.

How it works

Both colours are converted from sRGB to CIE Lab with a D65 white point.

  • ΔE76 is the straight-line distance: √(ΔL² + Δa² + Δb²).
  • ΔE2000 follows the CIEDE2000 formula of Sharma, Wu and Dalal (2005). It weights lightness, chroma and hue differences separately and adds a rotation term for blues, with kL = kC = kH = 1.
  • ΔE OK is the straight-line distance in OKLab, Björn Ottosson’s perceptual colour space.

The “What it means” label reads ΔE2000 against these bands: under 1, not perceptible; under 2, perceptible only on close inspection; under 10, perceptible at a glance; under 50, clearly different; 50 or more, very different.

Worked examples

These are the calculator’s own results.

Tailwind blue-500 and blue-600. #3b82f6 against #2563eb gives ΔE2000 10.88 (“Clearly different colours”), ΔE76 18.98 and ΔE OK 0.0823. Their contrast ratio is only 1.41:1, so neither works as text on the other.

Two close greys. #808080 against #858585 gives ΔE2000 1.86: “Perceptible only on close inspection”. Fine for a subtle border, too weak for a state change.

Opposites. Red #ff0000 against cyan #00ffff: ΔE2000 70.96, ΔE76 156.45 and ΔE OK 0.4944. ΔE76 more than doubles the ΔE2000 figure for saturated colours.

Limits and tips

  • The bands are a rule of thumb. Lighting, screen, colour size and the viewer all change what is visible.
  • Transparency is not taken into account; blend translucent colours onto their background first.
  • Calculations run in your browser.

Frequently asked questions

What is a good Delta E value?
It depends on the job. As a common rule of thumb, under 1 is not visible, 1 to 2 is visible only on close inspection, and 2 to 10 is visible at a glance. Brand and print work often aim for a small tolerance agreed with the client or printer.
Why are there three different numbers?
They are three formulas. ΔE76 is plain distance in CIE Lab and exaggerates differences in saturated colours. ΔE2000 corrects for how the eye actually judges lightness, chroma and hue, and is the one to quote. ΔE OK is distance in OKLab, used by CSS for gamut mapping, on a 0 to about 1 scale.
Is colour difference the same as contrast?
No. Two colours can be very different in hue and still have poor contrast. Red and cyan here have a ΔE2000 near 71 but a contrast ratio of only 3.19:1. For text, check the contrast ratio.
Why does my colour-management software give a different ΔE?
The Lab values here assume sRGB and a D65 white point. Software that uses D50 Lab, or measured print colours, will give somewhat different numbers.
Can I compare more than two colours?
Not in one go. For a palette, the colour blindness simulator compares every pair with ΔE2000 and flags ones that become too close.

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