#981F22#981F22
#981F22 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.6% C 0.157 H 25.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #981F22 |
|---|---|
| RGB | rgb(152, 31, 34) |
| HSL | hsl(359, 66%, 36%) |
| HSV | hsv(359, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 77.6%, 40.4%) |
| CIE-LAB | lab(33.51, 48.96, 30.14) |
| CIE-LCH | lch(33.51, 57.49, 31.62°) |
| OKLab | oklab(44.57% 0.1416 0.0669) |
| OKLCH | oklch(44.57% 0.157 25.3) |
| XYZ | xyz(13.7293, 7.7730, 2.2905) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.72
Brown
#A52A2A
ΔE00 3.34
Crimson (survey)
#8C000F
ΔE00 4.53
Firebrick
#B22222
ΔE00 5.57
Brownish Red
#9E3623
ΔE00 5.97
Blood Red
#980002
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F22 #1F9895
analogous
#981F5E #981F22 #98581F
triadic
#981F22 #22981F #1F2298
tetradic
#981F22 #5E981F #1F9895 #581F98
square
#981F22 #5E981F #1F9895 #581F98
split-complementary
#981F22 #1F9858 #1F5E98
monochromatic
#320A0B #651517 #981F22 #CB292D #DC5558
Accessibility & contrast
On white
8.22
#981F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#981F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F22
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F22 | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E21
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#A80022
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981f22; /* rgb */ color: rgb(152, 31, 34); /* oklch */ color: oklch(44.6% 0.157 25.3);
Tailwind
colors: {
custom: {
50: '#bf675d',
500: '#981f22',
950: '#000000',
},
}SCSS
$custom: #981f22; $custom-light: #bf675d; $custom-dark: #000000;
JSON
{
"hex": "#981f22",
"rgb": {
"r": 152,
"g": 31,
"b": 34
},
"hsl": {
"h": 358.512,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.44572,
"c": 0.1566,
"h": 25.3
},
"luminance": 0.07771
}Semantic roles & 50–950 ramp
primary
#981F22
secondary
#53C0BD
accent
#E9E53F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140604
muted
#827A79