#842226#842226
#842226 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.133 H 23.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #842226 |
|---|---|
| RGB | rgb(132, 34, 38) |
| HSL | hsl(358, 59%, 33%) |
| HSV | hsv(358, 74%, 52%) |
| CMYK | cmyk(0%, 74.2%, 71.2%, 48.2%) |
| CIE-LAB | lab(29.89, 41.65, 22.44) |
| CIE-LCH | lch(29.89, 47.30, 28.31°) |
| OKLab | oklab(41.17% 0.122 0.0521) |
| OKLCH | oklch(41.17% 0.133 23.1) |
| XYZ | xyz(10.4387, 6.1911, 2.4787) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.38
Wine Red
#7B0323
ΔE00 5.46
Crimson (survey)
#8C000F
ΔE00 5.69
Carmine
#9D0216
ΔE00 6.41
Brown
#A52A2A
ΔE00 7.22
Wine
#722F37
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842226 #228480
analogous
#842257 #842226 #844F22
triadic
#842226 #268422 #222684
tetradic
#842226 #578422 #228480 #4F2284
square
#842226 #578422 #228480 #4F2284
split-complementary
#842226 #22844F #225784
monochromatic
#23090A #531518 #842226 #B52F34 #D24F54
Accessibility & contrast
On white
9.38
#842226 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#842226 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842226
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842226 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3925
Deuteranopia (green-blind)
#564E23
Tritanopia (blue-blind)
#910024
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #842226; /* rgb */ color: rgb(132, 34, 38); /* oklch */ color: oklch(41.2% 0.133 23.1);
Tailwind
colors: {
custom: {
50: '#af6560',
500: '#842226',
950: '#000000',
},
}SCSS
$custom: #842226; $custom-light: #af6560; $custom-dark: #000000;
JSON
{
"hex": "#842226",
"rgb": {
"r": 132,
"g": 34,
"b": 38
},
"hsl": {
"h": 357.551,
"s": 59.036,
"l": 32.549
},
"oklch": {
"l": 0.41171,
"c": 0.13267,
"h": 23.1
},
"luminance": 0.0619
}Semantic roles & 50–950 ramp
primary
#842226
secondary
#4DB5B1
accent
#E2DC46
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79