#8A2821#8A2821
#8A2821 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.9% C 0.134 H 28.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2821 |
|---|---|
| RGB | rgb(138, 40, 33) |
| HSL | hsl(4, 61%, 34%) |
| HSV | hsv(4, 76%, 54%) |
| CMYK | cmyk(0%, 71%, 76.1%, 45.9%) |
| CIE-LAB | lab(31.88, 41.03, 28.17) |
| CIE-LCH | lch(31.88, 49.77, 34.47°) |
| OKLab | oklab(42.85% 0.1182 0.0633) |
| OKLCH | oklch(42.85% 0.134 28.2) |
| XYZ | xyz(11.5158, 7.0324, 2.1896) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.49
Carmine
#9D0216
ΔE00 4.75
Red Brown
#8B2E16
ΔE00 4.90
Indian Red
#850E04
ΔE00 5.48
Brown
#A52A2A
ΔE00 5.52
Brownish Red
#9E3623
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2821 #21838A
analogous
#8A214E #8A2821 #8A5C21
triadic
#8A2821 #218A28 #28218A
tetradic
#8A2821 #4E8A21 #21838A #5C218A
square
#8A2821 #4E8A21 #21838A #5C218A
split-complementary
#8A2821 #218A5C #214E8A
monochromatic
#270B09 #591A15 #8A2821 #BB362D #D55950
Accessibility & contrast
On white
8.73
#8A2821 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8A2821 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2821
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2821 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2821 | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443D1F
Deuteranopia (green-blind)
#5C531E
Tritanopia (blue-blind)
#980727
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a2821; /* rgb */ color: rgb(138, 40, 33); /* oklch */ color: oklch(42.9% 0.134 28.2);
Tailwind
colors: {
custom: {
50: '#b4685d',
500: '#8a2821',
950: '#000000',
},
}SCSS
$custom: #8a2821; $custom-light: #b4685d; $custom-dark: #000000;
JSON
{
"hex": "#8a2821",
"rgb": {
"r": 138,
"g": 40,
"b": 33
},
"hsl": {
"h": 4,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.42851,
"c": 0.13404,
"h": 28.2
},
"luminance": 0.07031
}Semantic roles & 50–950 ramp
primary
#8A2821
secondary
#4EB1B9
accent
#DAE543
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120704
muted
#817A79