#842818#842818
#842818 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.7% C 0.129 H 32.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #842818 |
|---|---|
| RGB | rgb(132, 40, 24) |
| HSL | hsl(9, 69%, 31%) |
| HSV | hsv(9, 82%, 52%) |
| CMYK | cmyk(0%, 69.7%, 81.8%, 48.2%) |
| CIE-LAB | lab(30.62, 38.52, 31.73) |
| CIE-LCH | lch(30.62, 49.90, 39.48°) |
| OKLab | oklab(41.66% 0.1091 0.0689) |
| OKLCH | oklch(41.66% 0.129 32.3) |
| XYZ | xyz(10.4406, 6.4906, 1.5670) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.74
Indian Red
#850E04
ΔE00 3.89
Brick Red
#8F1402
ΔE00 4.25
Reddish Brown
#7F2B0A
ΔE00 4.55
Darkred
#8B0000
ΔE00 4.79
Dark Red
#840000
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842818 #187484
analogous
#84183E #842818 #845E18
triadic
#842818 #188428 #281884
tetradic
#842818 #3E8418 #187484 #5E1884
square
#842818 #3E8418 #187484 #5E1884
split-complementary
#842818 #18845E #183E84
monochromatic
#1C0905 #50180F #842818 #B83821 #DB533B
Accessibility & contrast
On white
9.14
#842818 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#842818 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842818
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842818 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433B15
Deuteranopia (green-blind)
#595014
Tritanopia (blue-blind)
#920A25
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #842818; /* rgb */ color: rgb(132, 40, 24); /* oklch */ color: oklch(41.7% 0.129 32.3);
Tailwind
colors: {
custom: {
50: '#af6856',
500: '#842818',
950: '#000000',
},
}SCSS
$custom: #842818; $custom-light: #af6856; $custom-dark: #000000;
JSON
{
"hex": "#842818",
"rgb": {
"r": 132,
"g": 40,
"b": 24
},
"hsl": {
"h": 8.889,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.41658,
"c": 0.12904,
"h": 32.3
},
"luminance": 0.06489
}Semantic roles & 50–950 ramp
primary
#842818
secondary
#40A6B8
accent
#D2EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78