#842027#842027
#842027 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.0% C 0.135 H 21.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #842027 |
|---|---|
| RGB | rgb(132, 32, 39) |
| HSL | hsl(356, 61%, 32%) |
| HSV | hsv(356, 76%, 52%) |
| CMYK | cmyk(0%, 75.8%, 70.5%, 48.2%) |
| CIE-LAB | lab(29.63, 42.47, 21.48) |
| CIE-LCH | lch(29.63, 47.59, 26.83°) |
| OKLab | oklab(40.98% 0.1248 0.0501) |
| OKLCH | oklch(40.98% 0.135 21.9) |
| XYZ | xyz(10.3996, 6.0866, 2.5463) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.77
Wine Red
#7B0323
ΔE00 4.77
Crimson (survey)
#8C000F
ΔE00 6.14
Carmine
#9D0216
ΔE00 6.82
Wine
#722F37
ΔE00 6.91
Claret
#680018
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842027 #20847D
analogous
#842059 #842027 #844B20
triadic
#842027 #278420 #202784
tetradic
#842027 #598420 #20847D #4B2084
square
#842027 #598420 #20847D #4B2084
split-complementary
#842027 #20844B #205984
monochromatic
#21080A #531418 #842027 #B52C36 #D34B55
Accessibility & contrast
On white
9.47
#842027 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#842027 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842027
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842027 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842027 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3826
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#910024
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #842027; /* rgb */ color: rgb(132, 32, 39); /* oklch */ color: oklch(41.0% 0.135 21.9);
Tailwind
colors: {
custom: {
50: '#af6461',
500: '#842027',
950: '#000000',
},
}SCSS
$custom: #842027; $custom-light: #af6461; $custom-dark: #000000;
JSON
{
"hex": "#842027",
"rgb": {
"r": 132,
"g": 32,
"b": 39
},
"hsl": {
"h": 355.8,
"s": 60.976,
"l": 32.157
},
"oklch": {
"l": 0.40983,
"c": 0.13453,
"h": 21.9
},
"luminance": 0.06085
}Semantic roles & 50–950 ramp
primary
#842027
secondary
#4AB6AF
accent
#E4D944
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79