#982822#982822
#982822 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.4% C 0.149 H 27.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #982822 |
|---|---|
| RGB | rgb(152, 40, 34) |
| HSL | hsl(3, 63%, 36%) |
| HSV | hsv(3, 78%, 60%) |
| CMYK | cmyk(0%, 73.7%, 77.6%, 40.4%) |
| CIE-LAB | lab(34.62, 45.85, 31.36) |
| CIE-LCH | lch(34.62, 55.55, 34.37°) |
| OKLab | oklab(45.4% 0.1318 0.0695) |
| OKLCH | oklch(45.4% 0.149 27.8) |
| XYZ | xyz(13.9980, 8.3106, 2.3801) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.04
Carmine
#9D0216
ΔE00 3.54
Brownish Red
#9E3623
ΔE00 4.07
Brick
#A03623
ΔE00 4.26
Firebrick
#B22222
ΔE00 4.93
Crimson (survey)
#8C000F
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982822 #229298
analogous
#982257 #982822 #986322
triadic
#982822 #229828 #282298
tetradic
#982822 #579822 #229298 #632298
square
#982822 #579822 #229298 #632298
split-complementary
#982822 #229863 #225798
monochromatic
#340E0C #661B17 #982822 #CA352D #DA615A
Accessibility & contrast
On white
7.89
#982822 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#982822 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982822
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982822 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982822 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494220
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#A80028
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #982822; /* rgb */ color: rgb(152, 40, 34); /* oklch */ color: oklch(45.4% 0.149 27.8);
Tailwind
colors: {
custom: {
50: '#be6a5e',
500: '#982822',
950: '#000000',
},
}SCSS
$custom: #982822; $custom-light: #be6a5e; $custom-dark: #000000;
JSON
{
"hex": "#982822",
"rgb": {
"r": 152,
"g": 40,
"b": 34
},
"hsl": {
"h": 3.051,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.45403,
"c": 0.149,
"h": 27.8
},
"luminance": 0.08308
}Semantic roles & 50–950 ramp
primary
#982822
secondary
#57B9BE
accent
#DEE641
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79