Compare two colours
Both values, two named difference metrics with their conditions, and the WCAG contrast between them. A difference is a number under stated conditions, not a judgement.
A · #8B0000
- sRGB
- rgb(139 0 0)
- OKLCh
- 0.400 0.164 29.2
- OKLab
- 0.400 0.143 0.080
- CIELAB
- 28.76 51.45 42.80 (D50)
User-specified sRGB value · no record, no historical attribution.
B · #960018
- sRGB
- rgb(150 0 24)
- OKLCh
- 0.424 0.172 24.1
- OKLab
- 0.424 0.157 0.070
- CIELAB
- 31.44 54.68 34.71 (D50)
From record 胭脂 (yānzhi) zh-yanzhi-srgb-zhwiki · Chinesemodern approximation · recorded as srgb 0.5882, 0, 0.0941 · sRGB hex #960018 as listed on the cited page (which names no source for its values), divided by 255.Display approximationWikipedia contributors (Chinese), 中国传统色彩, entry 胭脂, hex #960018
Difference
| CIEDE2000 ΔE₀₀ | 5.32 | CIELAB, D50 (Bradford adaptation from sRGB’s D65), kL = kC = kH = 1 |
|---|---|---|
| OKLab ΔE (Euclidean) | 0.0297 | OKLab, D65, L on a 0–1 scale; the distance the Dictionary and map use |
| OKLCh by axis | ΔL +0.024 · ΔC +0.008 · Δh 5.1° | B minus A; hue as the smaller arc. Viewing conditions: sRGB as displayed, D65, 2° observer assumed by the conversions. |
No threshold of perceptibility is claimed for either metric: how visible a difference is depends on size, surround, adaptation and the display.
Contrast 1.10:1
- normal text, AA (SC 1.4.3) · at least 4.5:1fails
- normal text, AAA (SC 1.4.6) · at least 7:1fails
- large text, AA (SC 1.4.3) · at least 3:1fails
- large text, AAA (SC 1.4.6) · at least 4.5:1fails
- interface parts and graphics, AA (SC 1.4.11) · at least 3:1fails
WCAG 2.1 ratio between the two sRGB values as displayed; the same in either direction.