#842E1B#842E1B
#842E1B is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.5% C 0.122 H 34.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #842E1B |
|---|---|
| RGB | rgb(132, 46, 27) |
| HSL | hsl(11, 66%, 31%) |
| HSV | hsv(11, 80%, 52%) |
| CMYK | cmyk(0%, 65.2%, 79.5%, 48.2%) |
| CIE-LAB | lab(31.67, 35.89, 31.12) |
| CIE-LCH | lch(31.67, 47.50, 40.93°) |
| OKLab | oklab(42.46% 0.1016 0.0685) |
| OKLCH | oklch(42.46% 0.123 34) |
| XYZ | xyz(10.6917, 6.9402, 1.8133) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.07
Reddish Brown
#7F2B0A
ΔE00 4.01
Brick Red
#8F1402
ΔE00 4.97
Indian Red
#850E04
ΔE00 5.06
Brown Red
#922B05
ΔE00 5.30
Brownish Red
#9E3623
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842E1B #1B7184
analogous
#841B3C #842E1B #84621B
triadic
#842E1B #1B842E #2E1B84
tetradic
#842E1B #3C841B #1B7184 #621B84
square
#842E1B #3C841B #1B7184 #621B84
split-complementary
#842E1B #1B8462 #1B3C84
monochromatic
#1E0B06 #511C11 #842E1B #B74025 #D85D41
Accessibility & contrast
On white
8.79
#842E1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#842E1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842E1B
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842E1B | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463F18
Deuteranopia (green-blind)
#5B5218
Tritanopia (blue-blind)
#92182A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #842e1b; /* rgb */ color: rgb(132, 46, 27); /* oklch */ color: oklch(42.5% 0.122 34.0);
Tailwind
colors: {
custom: {
50: '#af6b58',
500: '#842e1b',
950: '#000000',
},
}SCSS
$custom: #842e1b; $custom-light: #af6b58; $custom-dark: #000000;
JSON
{
"hex": "#842e1b",
"rgb": {
"r": 132,
"g": 46,
"b": 27
},
"hsl": {
"h": 10.857,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.42459,
"c": 0.1225,
"h": 34
},
"luminance": 0.06939
}Semantic roles & 50–950 ramp
primary
#842E1B
secondary
#43A2B7
accent
#CAE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120703
muted
#817A78