#842828#842828
#842828 is a dark, vivid red. Relative luminance 0.066; OKLCH L 41.9% C 0.126 H 24.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #842828 |
|---|---|
| RGB | rgb(132, 40, 40) |
| HSL | hsl(0, 53%, 34%) |
| HSV | hsv(0, 70%, 52%) |
| CMYK | cmyk(0%, 69.7%, 69.7%, 48.2%) |
| CIE-LAB | lab(30.83, 39.28, 22.30) |
| CIE-LCH | lch(30.83, 45.17, 29.59°) |
| OKLab | oklab(41.88% 0.115 0.0521) |
| OKLCH | oklch(41.88% 0.126 24.4) |
| XYZ | xyz(10.6586, 6.5778, 2.7155) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 5.55
Crimson (survey)
#8C000F
ΔE00 6.02
Wine Red
#7B0323
ΔE00 6.53
Carmine
#9D0216
ΔE00 6.55
Brown
#A52A2A
ΔE00 6.83
Wine
#722F37
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842828 #288484
analogous
#842856 #842828 #845628
triadic
#842828 #288428 #282884
tetradic
#842828 #568428 #288484 #562884
square
#842828 #568428 #288484 #562884
split-complementary
#842828 #288456 #285684
monochromatic
#260C0C #551A1A #842828 #B33636 #CD5A5A
Accessibility & contrast
On white
9.07
#842828 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#842828 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842828
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842828 | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413C27
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#910F29
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #842828; /* rgb */ color: rgb(132, 40, 40); /* oklch */ color: oklch(41.9% 0.126 24.4);
Tailwind
colors: {
custom: {
50: '#ae6862',
500: '#842828',
950: '#000000',
},
}SCSS
$custom: #842828; $custom-light: #ae6862; $custom-dark: #000000;
JSON
{
"hex": "#842828",
"rgb": {
"r": 132,
"g": 40,
"b": 40
},
"hsl": {
"h": 0,
"s": 53.488,
"l": 33.725
},
"oklch": {
"l": 0.4188,
"c": 0.12622,
"h": 24.4
},
"luminance": 0.06576
}Semantic roles & 50–950 ramp
primary
#842828
secondary
#56B2B2
accent
#DDDD4B
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79