#842B17#842B17
#842B17 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.0% C 0.126 H 34.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #842B17 |
|---|---|
| RGB | rgb(132, 43, 23) |
| HSL | hsl(11, 70%, 30%) |
| HSV | hsv(11, 83%, 52%) |
| CMYK | cmyk(0%, 67.4%, 82.6%, 48.2%) |
| CIE-LAB | lab(31.11, 37.14, 32.76) |
| CIE-LCH | lch(31.11, 49.52, 41.42°) |
| OKLab | oklab(42.02% 0.1046 0.0708) |
| OKLCH | oklch(42.02% 0.126 34.1) |
| XYZ | xyz(10.5354, 6.6967, 1.5483) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 1.84
Reddish Brown
#7F2B0A
ΔE00 3.53
Brick Red
#8F1402
ΔE00 4.26
Indian Red
#850E04
ΔE00 4.37
Brown Red
#922B05
ΔE00 4.87
Darkred
#8B0000
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842B17 #177084
analogous
#841739 #842B17 #846117
triadic
#842B17 #17842B #2B1784
tetradic
#842B17 #398417 #177084 #611784
square
#842B17 #398417 #177084 #611784
split-complementary
#842B17 #178461 #173984
monochromatic
#1C0905 #501A0E #842B17 #B83C20 #DC5739
Accessibility & contrast
On white
8.98
#842B17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#842B17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842B17
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842B17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842B17 | 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)
#453D14
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#921127
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #842b17; /* rgb */ color: rgb(132, 43, 23); /* oklch */ color: oklch(42.0% 0.126 34.1);
Tailwind
colors: {
custom: {
50: '#af6956',
500: '#842b17',
950: '#000000',
},
}SCSS
$custom: #842b17; $custom-light: #af6956; $custom-dark: #000000;
JSON
{
"hex": "#842b17",
"rgb": {
"r": 132,
"g": 43,
"b": 23
},
"hsl": {
"h": 11.009,
"s": 70.323,
"l": 30.392
},
"oklch": {
"l": 0.42022,
"c": 0.12635,
"h": 34.1
},
"luminance": 0.06695
}Semantic roles & 50–950 ramp
primary
#842B17
secondary
#3FA2B8
accent
#CCED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120703
muted
#817A78