#842E1F#842E1F
#842E1F is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.5% C 0.122 H 32.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #842E1F |
|---|---|
| RGB | rgb(132, 46, 31) |
| HSL | hsl(9, 62%, 32%) |
| HSV | hsv(9, 77%, 52%) |
| CMYK | cmyk(0%, 65.2%, 76.5%, 48.2%) |
| CIE-LAB | lab(31.72, 36.07, 28.86) |
| CIE-LCH | lch(31.72, 46.19, 38.66°) |
| OKLab | oklab(42.51% 0.1029 0.0647) |
| OKLCH | oklch(42.51% 0.122 32.1) |
| XYZ | xyz(10.7412, 6.9600, 2.0739) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.15
Reddish Brown
#7F2B0A
ΔE00 5.27
Indian Red
#850E04
ΔE00 5.36
Brick Red
#8F1402
ΔE00 5.60
Brownish Red
#9E3623
ΔE00 5.70
Crimson (survey)
#8C000F
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842E1F #1F7584
analogous
#841F43 #842E1F #84611F
triadic
#842E1F #1F842E #2E1F84
tetradic
#842E1F #43841F #1F7584 #611F84
square
#842E1F #43841F #1F7584 #611F84
split-complementary
#842E1F #1F8461 #1F4384
monochromatic
#210B08 #521D13 #842E1F #B63F2B #D45E49
Accessibility & contrast
On white
8.78
#842E1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#842E1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842E1F
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842E1F | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463F1D
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#91182B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #842e1f; /* rgb */ color: rgb(132, 46, 31); /* oklch */ color: oklch(42.5% 0.122 32.1);
Tailwind
colors: {
custom: {
50: '#af6b5b',
500: '#842e1f',
950: '#000000',
},
}SCSS
$custom: #842e1f; $custom-light: #af6b5b; $custom-dark: #000000;
JSON
{
"hex": "#842e1f",
"rgb": {
"r": 132,
"g": 46,
"b": 31
},
"hsl": {
"h": 8.911,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.42508,
"c": 0.12156,
"h": 32.1
},
"luminance": 0.06958
}Semantic roles & 50–950 ramp
primary
#842E1F
secondary
#48A6B7
accent
#CDE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120704
muted
#817A79