#842F18#842F18
#842F18 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.6% C 0.122 H 35.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #842F18 |
|---|---|
| RGB | rgb(132, 47, 24) |
| HSL | hsl(13, 69%, 31%) |
| HSV | hsv(13, 82%, 52%) |
| CMYK | cmyk(0%, 64.4%, 81.8%, 48.2%) |
| CIE-LAB | lab(31.82, 35.29, 32.93) |
| CIE-LCH | lch(31.82, 48.27, 43.02°) |
| OKLab | oklab(42.56% 0.0991 0.0715) |
| OKLCH | oklch(42.56% 0.122 35.8) |
| XYZ | xyz(10.6983, 7.0060, 1.6529) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 1.51
Reddish Brown
#7F2B0A
ΔE00 2.96
Brown Red
#922B05
ΔE00 4.39
Brick Red
#8F1402
ΔE00 4.88
Rust Brown
#8B3103
ΔE00 5.19
Chestnut
#742802
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842F18 #186D84
analogous
#841837 #842F18 #846518
triadic
#842F18 #18842F #2F1884
tetradic
#842F18 #378418 #186D84 #651884
square
#842F18 #378418 #186D84 #651884
split-complementary
#842F18 #188465 #183784
monochromatic
#1C0A05 #501D0F #842F18 #B84121 #DB5D3B
Accessibility & contrast
On white
8.75
#842F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#842F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842F18
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842F18 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#473F15
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#92192A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #842f18; /* rgb */ color: rgb(132, 47, 24); /* oklch */ color: oklch(42.6% 0.122 35.8);
Tailwind
colors: {
custom: {
50: '#af6b57',
500: '#842f18',
950: '#000000',
},
}SCSS
$custom: #842f18; $custom-light: #af6b57; $custom-dark: #000000;
JSON
{
"hex": "#842f18",
"rgb": {
"r": 132,
"g": 47,
"b": 24
},
"hsl": {
"h": 12.778,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.42563,
"c": 0.12222,
"h": 35.8
},
"luminance": 0.07005
}Semantic roles & 50–950 ramp
primary
#842F18
secondary
#409EB8
accent
#C7EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120703
muted
#817A78