#842228#842228
#842228 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.132 H 22.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #842228 |
|---|---|
| RGB | rgb(132, 34, 40) |
| HSL | hsl(356, 59%, 33%) |
| HSV | hsv(356, 74%, 52%) |
| CMYK | cmyk(0%, 74.2%, 69.7%, 48.2%) |
| CIE-LAB | lab(29.92, 41.76, 21.19) |
| CIE-LCH | lch(29.92, 46.83, 26.91°) |
| OKLab | oklab(41.21% 0.1228 0.0497) |
| OKLCH | oklch(41.21% 0.132 22) |
| XYZ | xyz(10.4719, 6.2043, 2.6532) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.08
Wine Red
#7B0323
ΔE00 5.00
Crimson (survey)
#8C000F
ΔE00 6.30
Wine
#722F37
ΔE00 6.74
Carmine
#9D0216
ΔE00 6.90
Claret
#680018
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842228 #22847E
analogous
#842259 #842228 #844D22
triadic
#842228 #288422 #222884
tetradic
#842228 #598422 #22847E #4D2284
square
#842228 #598422 #22847E #4D2284
split-complementary
#842228 #22844D #225984
monochromatic
#23090B #531519 #842228 #B52F37 #D24F57
Accessibility & contrast
On white
9.37
#842228 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#842228 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842228
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842228 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3927
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#910025
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #842228; /* rgb */ color: rgb(132, 34, 40); /* oklch */ color: oklch(41.2% 0.132 22.0);
Tailwind
colors: {
custom: {
50: '#af6561',
500: '#842228',
950: '#000000',
},
}SCSS
$custom: #842228; $custom-light: #af6561; $custom-dark: #000000;
JSON
{
"hex": "#842228",
"rgb": {
"r": 132,
"g": 34,
"b": 40
},
"hsl": {
"h": 356.327,
"s": 59.036,
"l": 32.549
},
"oklch": {
"l": 0.41206,
"c": 0.13247,
"h": 22
},
"luminance": 0.06203
}Semantic roles & 50–950 ramp
primary
#842228
secondary
#4DB5AF
accent
#E2D946
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79