Color difference
Delta E calculator CIEDE2000, CIE94, CMC and CIE76
Delta E puts a number on how different two colors look. Type two colors or two sets of Lab values, choose a formula, and see the difference, what it means and every step of the formula, checked against the published CIEDE2000 test data.
What you get
- Six formulas CIEDE2000, CIE94 for graphic arts and textiles, CMC 2:1 and 1:1, and CIE76, side by side.
- The formula, worked Every term of the formula you chose, computed for your two colors.
- Any input Hex, rgb(), hsl(), oklch() and names, or Lab values typed as three numbers.
- Checked All 34 test pairs Sharma, Wu and Dalal published for CIEDE2000, reproduced to four decimals.
The calculator
Measure two colors
Type two colors, or two sets of Lab values, and choose a formula. Every change is measured again at once.
The calculator needs JavaScript. The worked examples and the test pairs below read without it.
Color 1, the reference
#D3AF37
Lab 72.75, 0.95, 62.79
Outside sRGB: shown clipped.
Color 2, the sample
#CDAA3D
Lab 70.92, 1.28, 58.42
Outside sRGB: shown clipped.
Result
CIEDE20001.84 ΔE00
Very close
This formula is not symmetric: color 1 is the reference, and swapping the colors changes the result.
| Formula | Difference | Reads as |
|---|---|---|
| CIEDE2000 | 1.84 | Very close |
| CIE94, graphic arts | 2.17 | Close match |
| CIE94, textiles | 1.44 | Very close |
| CMC 2:1, acceptability | 1.71 | Very close |
| CMC 1:1, perceptibility | 2.10 | Close match |
| CIE76 | 4.75 | Close match |
The formula
ΔE₀₀ = √[ (ΔL′/S_L)² + (ΔC′/S_C)² + (ΔH′/S_H)² + R_T · (ΔC′/S_C) · (ΔH′/S_H) ]
Every term of the formula, worked
| Term | What it is | Value |
|---|---|---|
| C*₁ | Chroma of color 1 | 62.7929 |
| C*₂ | Chroma of color 2 | 58.4313 |
| C̄* | Mean chroma | 60.6121 |
| G | Chroma correction for a* | 0.0005 |
| a′₁ | Corrected a* of color 1 | 0.9477 |
| a′₂ | Corrected a* of color 2 | 1.2823 |
| C′₁ | Corrected chroma of color 1 | 62.7929 |
| C′₂ | Corrected chroma of color 2 | 58.4313 |
| h′₁ | Hue angle of color 1, degrees | 89.1353 |
| h′₂ | Hue angle of color 2, degrees | 88.7425 |
| ΔL′ | Lightness difference | -1.8339 |
| ΔC′ | Chroma difference | -4.3616 |
| Δh′ | Hue angle difference, degrees | -0.3927 |
| ΔH′ | Hue difference | -0.4152 |
| L̄′ | Mean lightness | 71.8347 |
| C̄′ | Mean corrected chroma | 60.6121 |
| h̄′ | Mean hue angle, degrees | 88.9389 |
| T | Hue weighting | 0.6108 |
| Δθ | Rotation angle, degrees | 0.0000 |
| R_C | Rotation chroma term | 1.9980 |
| S_L | Lightness weight | 1.3209 |
| S_C | Chroma weight | 3.7275 |
| S_H | Hue weight | 1.5553 |
| R_T | Rotation term for blues | 0.0000 |
Worked examples
Five pairs, four formulas
The same pairs, measured with four of the formulas. Open one in the calculator to see each formula worked.
| Pair | Colors | CIEDE2000 | CIE94 | CMC 2:1 | CIE76 | Reads as | Calculator |
|---|---|---|---|---|---|---|---|
| Two light grays | #E5E5E5#DCDCDC | 2.00 | 3.18 | 1.11 | 3.18 | Close match | |
| Two saturated blues | #0000FF#1E3CFF | 7.30 | 7.93 | 7.59 | 22.67 | Noticeable | |
| Two yellows | #FFD700#FFE135 | 3.29 | 3.53 | 3.21 | 8.36 | Close match | |
| Two near-blacks | #121212#1E1E1E | 3.58 | 5.80 | 5.67 | 5.80 | Close match | |
| A brand gold and a close match | #D3AF37#CDAA3D | 1.84 | 2.17 | 1.71 | 4.75 | Very close |
- CIE76 overstates saturated colors. The two blues are 22.67 apart by CIE76 and 7.30 by CIEDE2000: the eye is less sensitive to chroma differences among strong colors, and only the newer formulas allow for it.
- Neutrals are the other way round. The two light grays measure 2.00 by CIEDE2000 and 3.18 by CIE76; gray differences are easy to see, and CIEDE2000 stretches its lightness scale least near the middle.
- CMC 1:1 is harsh on near-blacks. Its lightness weight is fixed below L* 16, so the two near-blacks measure 11.35 by CMC 1:1 but 3.58 by CIEDE2000.
- A close brand match. The gold and its match are 1.84 by CIEDE2000, inside the tolerance most brand specifications set, while CIE76 puts them at 4.75.
Reference data
The 34 published test pairs
Sharma, Wu and Dalal published these pairs to catch the mistakes CIEDE2000 implementations make, most of them in how the hue angle and its mean are handled. This page reproduces every one to four decimals; the largest difference before rounding is 4.9e-5.
| Pair | Lab, color 1 | Lab, color 2 | Published | This page | Calculator |
|---|---|---|---|---|---|
| 1 | 50, 2.6772, -79.7751 | 50, 0, -82.7485 | 2.0425 | 2.0425 | |
| 2 | 50, 3.1571, -77.2803 | 50, 0, -82.7485 | 2.8615 | 2.8615 | |
| 3 | 50, 2.8361, -74.02 | 50, 0, -82.7485 | 3.4412 | 3.4412 | |
| 4 | 50, -1.3802, -84.2814 | 50, 0, -82.7485 | 1.0000 | 1.0000 | |
| 5 | 50, -1.1848, -84.8006 | 50, 0, -82.7485 | 1.0000 | 1.0000 | |
| 6 | 50, -0.9009, -85.5211 | 50, 0, -82.7485 | 1.0000 | 1.0000 | |
| 7 | 50, 0, 0 | 50, -1, 2 | 2.3669 | 2.3669 | |
| 8 | 50, -1, 2 | 50, 0, 0 | 2.3669 | 2.3669 | |
| 9 | 50, 2.49, -0.001 | 50, -2.49, 0.0009 | 7.1792 | 7.1792 | |
| 10 | 50, 2.49, -0.001 | 50, -2.49, 0.001 | 7.1792 | 7.1792 | |
| 11 | 50, 2.49, -0.001 | 50, -2.49, 0.0011 | 7.2195 | 7.2195 | |
| 12 | 50, 2.49, -0.001 | 50, -2.49, 0.0012 | 7.2195 | 7.2195 | |
| 13 | 50, -0.001, 2.49 | 50, 0.0009, -2.49 | 4.8045 | 4.8045 | |
| 14 | 50, -0.001, 2.49 | 50, 0.001, -2.49 | 4.8045 | 4.8045 | |
| 15 | 50, -0.001, 2.49 | 50, 0.0011, -2.49 | 4.7461 | 4.7461 | |
| 16 | 50, 2.5, 0 | 50, 0, -2.5 | 4.3065 | 4.3065 | |
| 17 | 50, 2.5, 0 | 73, 25, -18 | 27.1492 | 27.1492 | |
| 18 | 50, 2.5, 0 | 61, -5, 29 | 22.8977 | 22.8977 | |
| 19 | 50, 2.5, 0 | 56, -27, -3 | 31.9030 | 31.9030 | |
| 20 | 50, 2.5, 0 | 58, 24, 15 | 19.4535 | 19.4535 | |
| 21 | 50, 2.5, 0 | 50, 3.1736, 0.5854 | 1.0000 | 1.0000 | |
| 22 | 50, 2.5, 0 | 50, 3.2972, 0 | 1.0000 | 1.0000 | |
| 23 | 50, 2.5, 0 | 50, 1.8634, 0.5757 | 1.0000 | 1.0000 | |
| 24 | 50, 2.5, 0 | 50, 3.2592, 0.335 | 1.0000 | 1.0000 | |
| 25 | 60.2574, -34.0099, 36.2677 | 60.4626, -34.1751, 39.4387 | 1.2644 | 1.2644 | |
| 26 | 63.0109, -31.0961, -5.8663 | 62.8187, -29.7946, -4.0864 | 1.2630 | 1.2630 | |
| 27 | 61.2901, 3.7196, -5.3901 | 61.4292, 2.248, -4.962 | 1.8731 | 1.8731 | |
| 28 | 35.0831, -44.1164, 3.7933 | 35.0232, -40.0716, 1.5901 | 1.8645 | 1.8645 | |
| 29 | 22.7233, 20.0904, -46.694 | 23.0331, 14.973, -42.5619 | 2.0373 | 2.0373 | |
| 30 | 36.4612, 47.858, 18.3852 | 36.2715, 50.5065, 21.2231 | 1.4146 | 1.4146 | |
| 31 | 90.8027, -2.0831, 1.441 | 91.1528, -1.6435, 0.0447 | 1.4441 | 1.4441 | |
| 32 | 90.9257, -0.5406, -0.9208 | 88.6381, -0.8985, -0.7239 | 1.5381 | 1.5381 | |
| 33 | 6.7747, -0.2908, -2.4247 | 5.8714, -0.0985, -2.2286 | 0.6377 | 0.6377 | |
| 34 | 2.0776, 0.0795, -1.135 | 0.9033, -0.0636, -0.5514 | 0.9082 | 0.9082 |
Pairs 7 to 16 test the hue angle and its mean around 0° and 180°; pairs 17 to 24 test large and small differences around one color; pairs 25 to 34 are real surface colors. Source: G. Sharma, W. Wu and E. N. Dalal, "The CIEDE2000 color-difference formula: implementation notes, supplementary test data, and mathematical observations", Color Research & Application 30(1), 2005, pages 21 to 30.
Reading the number
What a difference means
| CIEDE2000 | Reads as | In practice |
|---|---|---|
| Below 1 | Imperceptible | Most people cannot see it, even side by side. |
| 1 to 2 | Very close | Visible to a trained eye, side by side. |
| 2 to 5 | Close match | Visible side by side; the colors pass as the same apart. |
| 5 to 10 | Noticeable | Visible at a glance. |
| 10 and up | Distinct | Read as different colors; at this size the formulas agree less. |
- A tolerance is an agreement. Brand and print specifications commonly allow 1 to 3 by CIEDE2000; textile work commonly uses CMC 2:1 with a tolerance near 1. The right number is the one the buyer and the maker agree on, for the formula they name.
- Name the formula with the number. A difference of 2 means something else by CIE76 than by CIEDE2000, as the examples above show.
Method
How it measures
- A CSS color is read as sRGB, made linear, converted to CIE XYZ and then to CIELAB with the D65 white of sRGB screens. A see-through color is first blended over white.
- Three numbers are read as CIELAB values directly, as the published test pairs are given; the swatch shows the nearest sRGB color and says when the values lie outside it.
- CIEDE2000 follows CIE 142-2001 and ISO/CIE 11664-6:2014 with k_L, k_C and k_H all 1, implemented as Sharma, Wu and Dalal's notes describe.
- CIE94 uses k_L 1, K₁ 0.045 and K₂ 0.015 for graphic arts, and k_L 2, K₁ 0.048 and K₂ 0.014 for textiles; CMC uses l:c 2:1 or 1:1. Both weigh by color 1, the reference.
- The figures are also checked against two independent libraries, delta-e for CIE76, CIE94 and CIEDE2000 and Color.js for CMC, on 2,000 random pairs.
The worked examples and the test pairs are recomputed by an automated test from the same code, so a figure on this page cannot drift from what the calculator measures.
Found a wrong number? Tell us.
Limits
What a difference cannot tell you
- The formulas model small differences. They were fitted to color pairs a few units apart; above about 10 they still rank pairs, but say less about how different the colors look.
- The white point matters. This page uses D65, the white of sRGB screens; print work often uses D50, as CSS lab() does, and the same pair can then measure slightly differently.
- Viewing conditions are assumed. The formulas assume two flat samples side by side under a set light; size, gloss, texture and the surroundings change what people see.
- Two colors can match under one light and not another. That is metamerism, and a single difference under one white cannot show it.
- Screens are not proofs. Colors typed here are screen colors; a printed or dyed sample has to be measured with an instrument.
Where next
More on measuring color
From one difference to the science behind it.
- Color difference in practiceTolerances and pass or fail with ΔE in quality control.
- ΔE metrics from CIE76 to CIEDE2000Why each formula was made, and where they disagree.
- Color spacesWhere CIELAB sits among the color spaces, and how they relate.
- HEX and OKLCH converterA conversion and its round trip, measured in CIEDE2000.
- Contrast checkerDifference is not contrast: check two colors for legibility.