#842831#842831
#842831 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.125 H 18.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #842831 |
|---|---|
| RGB | rgb(132, 40, 49) |
| HSL | hsl(354, 53%, 34%) |
| HSV | hsv(354, 70%, 52%) |
| CMYK | cmyk(0%, 69.7%, 62.9%, 48.2%) |
| CIE-LAB | lab(30.99, 39.87, 16.72) |
| CIE-LCH | lch(30.99, 43.23, 22.75°) |
| OKLab | oklab(42.05% 0.1187 0.0406) |
| OKLCH | oklch(42.05% 0.125 18.9) |
| XYZ | xyz(10.8299, 6.6464, 3.6177) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 4.93
Burgundy
#800020
ΔE00 5.05
Wine Red
#7B0323
ΔE00 5.21
Red Wine
#8C0034
ΔE00 6.09
Bordeaux
#7B002C
ΔE00 6.65
Cranberry
#9E003A
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842831 #28847B
analogous
#84285F #842831 #844D28
triadic
#842831 #318428 #283184
tetradic
#842831 #5F8428 #28847B #4D2884
square
#842831 #5F8428 #28847B #4D2884
split-complementary
#842831 #28844D #285F84
monochromatic
#260C0E #551A20 #842831 #B33642 #CD5A65
Accessibility & contrast
On white
9.02
#842831 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#842831 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842831
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842831 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403D31
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#91122C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #842831; /* rgb */ color: rgb(132, 40, 49); /* oklch */ color: oklch(42.1% 0.125 18.9);
Tailwind
colors: {
custom: {
50: '#ae6869',
500: '#842831',
950: '#000000',
},
}SCSS
$custom: #842831; $custom-light: #ae6869; $custom-dark: #000000;
JSON
{
"hex": "#842831",
"rgb": {
"r": 132,
"g": 40,
"b": 49
},
"hsl": {
"h": 354.13,
"s": 53.488,
"l": 33.725
},
"oklch": {
"l": 0.42054,
"c": 0.12543,
"h": 18.9
},
"luminance": 0.06645
}Semantic roles & 50–950 ramp
primary
#842831
secondary
#56B2A9
accent
#DDCF4B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A