#8A2226#8A2226
#8A2226 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.3% C 0.139 H 23.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2226 |
|---|---|
| RGB | rgb(138, 34, 38) |
| HSL | hsl(358, 60%, 34%) |
| HSV | hsv(358, 75%, 54%) |
| CMYK | cmyk(0%, 75.4%, 72.5%, 45.9%) |
| CIE-LAB | lab(31.09, 43.65, 24.16) |
| CIE-LCH | lch(31.09, 49.89, 28.97°) |
| OKLab | oklab(42.28% 0.1275 0.0556) |
| OKLCH | oklch(42.28% 0.139 23.6) |
| XYZ | xyz(11.4044, 6.6890, 2.5240) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 5.05
Crimson (survey)
#8C000F
ΔE00 5.19
Carmine
#9D0216
ΔE00 5.34
Brown
#A52A2A
ΔE00 5.98
Wine Red
#7B0323
ΔE00 6.33
Indian Red
#850E04
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2226 #228A86
analogous
#8A225A #8A2226 #8A5222
triadic
#8A2226 #268A22 #22268A
tetradic
#8A2226 #5A8A22 #228A86 #52228A
square
#8A2226 #5A8A22 #228A86 #52228A
split-complementary
#8A2226 #228A52 #225A8A
monochromatic
#280A0B #591618 #8A2226 #BB2E34 #D45257
Accessibility & contrast
On white
8.98
#8A2226 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8A2226 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2226
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2226 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403B25
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a2226; /* rgb */ color: rgb(138, 34, 38); /* oklch */ color: oklch(42.3% 0.139 23.6);
Tailwind
colors: {
custom: {
50: '#b36660',
500: '#8a2226',
950: '#000000',
},
}SCSS
$custom: #8a2226; $custom-light: #b36660; $custom-dark: #000000;
JSON
{
"hex": "#8a2226",
"rgb": {
"r": 138,
"g": 34,
"b": 38
},
"hsl": {
"h": 357.692,
"s": 60.465,
"l": 33.725
},
"oklch": {
"l": 0.42282,
"c": 0.13914,
"h": 23.6
},
"luminance": 0.06687
}Semantic roles & 50–950 ramp
primary
#8A2226
secondary
#50B8B4
accent
#E4DD44
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79