#842E21#842E21
#842E21 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.5% C 0.121 H 31.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #842E21 |
|---|---|
| RGB | rgb(132, 46, 33) |
| HSL | hsl(8, 60%, 32%) |
| HSV | hsv(8, 75%, 52%) |
| CMYK | cmyk(0%, 65.2%, 75%, 48.2%) |
| CIE-LAB | lab(31.74, 36.16, 27.70) |
| CIE-LCH | lch(31.74, 45.55, 37.45°) |
| OKLab | oklab(42.54% 0.1036 0.0626) |
| OKLCH | oklch(42.54% 0.121 31.1) |
| XYZ | xyz(10.7684, 6.9708, 2.2170) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.77
Indian Red
#850E04
ΔE00 5.65
Crimson (survey)
#8C000F
ΔE00 5.83
Brownish Red
#9E3623
ΔE00 5.87
Reddish Brown
#7F2B0A
ΔE00 5.94
Brick Red
#8F1402
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842E21 #217784
analogous
#842145 #842E21 #846021
triadic
#842E21 #21842E #2E2184
tetradic
#842E21 #458421 #217784 #602184
square
#842E21 #458421 #217784 #602184
split-complementary
#842E21 #218460 #214584
monochromatic
#220C09 #531D15 #842E21 #B53F2D #D25E4D
Accessibility & contrast
On white
8.77
#842E21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#842E21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842E21
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842E21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842E21 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463F1F
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#91192B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #842e21; /* rgb */ color: rgb(132, 46, 33); /* oklch */ color: oklch(42.5% 0.121 31.1);
Tailwind
colors: {
custom: {
50: '#ae6b5d',
500: '#842e21',
950: '#000000',
},
}SCSS
$custom: #842e21; $custom-light: #ae6b5d; $custom-dark: #000000;
JSON
{
"hex": "#842e21",
"rgb": {
"r": 132,
"g": 46,
"b": 33
},
"hsl": {
"h": 7.879,
"s": 60,
"l": 32.353
},
"oklch": {
"l": 0.42535,
"c": 0.1211,
"h": 31.1
},
"luminance": 0.06969
}Semantic roles & 50–950 ramp
primary
#842E21
secondary
#4BA8B6
accent
#CEE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120704
muted
#817A79