#842A17#842A17
#842A17 is a dark, vivid red. Relative luminance 0.066; OKLCH L 41.9% C 0.127 H 33.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #842A17 |
|---|---|
| RGB | rgb(132, 42, 23) |
| HSL | hsl(10, 70%, 30%) |
| HSV | hsv(10, 83%, 52%) |
| CMYK | cmyk(0%, 68.2%, 82.6%, 48.2%) |
| CIE-LAB | lab(30.94, 37.59, 32.60) |
| CIE-LCH | lch(30.94, 49.76, 40.93°) |
| OKLab | oklab(41.9% 0.106 0.0705) |
| OKLCH | oklch(41.9% 0.127 33.6) |
| XYZ | xyz(10.4995, 6.6249, 1.5363) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.05
Reddish Brown
#7F2B0A
ΔE00 3.77
Indian Red
#850E04
ΔE00 4.17
Brick Red
#8F1402
ΔE00 4.18
Darkred
#8B0000
ΔE00 5.07
Brown Red
#922B05
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842A17 #177184
analogous
#84173A #842A17 #846117
triadic
#842A17 #17842A #2A1784
tetradic
#842A17 #3A8417 #177184 #611784
square
#842A17 #3A8417 #177184 #611784
split-complementary
#842A17 #178461 #173A84
monochromatic
#1C0905 #50190E #842A17 #B83B20 #DC5539
Accessibility & contrast
On white
9.03
#842A17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#842A17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842A17
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842A17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842A17 | 1.00 | 9.03 | 2.32 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#920F26
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #842a17; /* rgb */ color: rgb(132, 42, 23); /* oklch */ color: oklch(41.9% 0.127 33.6);
Tailwind
colors: {
custom: {
50: '#af6956',
500: '#842a17',
950: '#000000',
},
}SCSS
$custom: #842a17; $custom-light: #af6956; $custom-dark: #000000;
JSON
{
"hex": "#842a17",
"rgb": {
"r": 132,
"g": 42,
"b": 23
},
"hsl": {
"h": 10.459,
"s": 70.323,
"l": 30.392
},
"oklch": {
"l": 0.41895,
"c": 0.12732,
"h": 33.6
},
"luminance": 0.06623
}Semantic roles & 50–950 ramp
primary
#842A17
secondary
#3FA3B8
accent
#CEED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78