#981F24#981F24
#981F24 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.6% C 0.156 H 24.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #981F24 |
|---|---|
| RGB | rgb(152, 31, 36) |
| HSL | hsl(358, 66%, 36%) |
| HSV | hsv(358, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 76.3%, 40.4%) |
| CIE-LAB | lab(33.53, 49.04, 28.96) |
| CIE-LCH | lch(33.53, 56.95, 30.56°) |
| OKLab | oklab(44.6% 0.1423 0.0648) |
| OKLCH | oklch(44.6% 0.156 24.5) |
| XYZ | xyz(13.7589, 7.7849, 2.4469) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 3.14
Brown
#A52A2A
ΔE00 3.39
Crimson (survey)
#8C000F
ΔE00 4.87
Firebrick
#B22222
ΔE00 5.83
Brownish Red
#9E3623
ΔE00 6.43
Brick
#A03623
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F24 #1F9893
analogous
#981F60 #981F24 #98561F
triadic
#981F24 #24981F #1F2498
tetradic
#981F24 #60981F #1F9893 #561F98
square
#981F24 #60981F #1F9893 #561F98
split-complementary
#981F24 #1F9856 #1F6098
monochromatic
#320A0C #651518 #981F24 #CB2930 #DC555B
Accessibility & contrast
On white
8.21
#981F24 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#981F24 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F24
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F24 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443E23
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#A80022
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981f24; /* rgb */ color: rgb(152, 31, 36); /* oklch */ color: oklch(44.6% 0.156 24.5);
Tailwind
colors: {
custom: {
50: '#bf675f',
500: '#981f24',
950: '#000000',
},
}SCSS
$custom: #981f24; $custom-light: #bf675f; $custom-dark: #000000;
JSON
{
"hex": "#981f24",
"rgb": {
"r": 152,
"g": 31,
"b": 36
},
"hsl": {
"h": 357.521,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.44598,
"c": 0.15638,
"h": 24.5
},
"luminance": 0.07783
}Semantic roles & 50–950 ramp
primary
#981F24
secondary
#53C0BB
accent
#E9E23F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79