#981F23#981F23
#981F23 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.6% C 0.156 H 24.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #981F23 |
|---|---|
| RGB | rgb(152, 31, 35) |
| HSL | hsl(358, 66%, 36%) |
| HSV | hsv(358, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 77%, 40.4%) |
| CIE-LAB | lab(33.52, 49.00, 29.55) |
| CIE-LCH | lch(33.52, 57.22, 31.10°) |
| OKLab | oklab(44.59% 0.142 0.0659) |
| OKLCH | oklch(44.59% 0.156 24.9) |
| XYZ | xyz(13.7439, 7.7789, 2.3676) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.92
Brown
#A52A2A
ΔE00 3.35
Crimson (survey)
#8C000F
ΔE00 4.69
Firebrick
#B22222
ΔE00 5.69
Brownish Red
#9E3623
ΔE00 6.20
Brick
#A03623
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F23 #1F9894
analogous
#981F5F #981F23 #98581F
triadic
#981F23 #23981F #1F2398
tetradic
#981F23 #5F981F #1F9894 #581F98
square
#981F23 #5F981F #1F9894 #581F98
split-complementary
#981F23 #1F9858 #1F5F98
monochromatic
#320A0C #651517 #981F23 #CB292F #DC555A
Accessibility & contrast
On white
8.22
#981F23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#981F23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F23
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F23 | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E22
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#A80022
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981f23; /* rgb */ color: rgb(152, 31, 35); /* oklch */ color: oklch(44.6% 0.156 24.9);
Tailwind
colors: {
custom: {
50: '#bf675e',
500: '#981f23',
950: '#000000',
},
}SCSS
$custom: #981f23; $custom-light: #bf675e; $custom-dark: #000000;
JSON
{
"hex": "#981f23",
"rgb": {
"r": 152,
"g": 31,
"b": 35
},
"hsl": {
"h": 358.017,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.44585,
"c": 0.15648,
"h": 24.9
},
"luminance": 0.07777
}Semantic roles & 50–950 ramp
primary
#981F23
secondary
#53C0BC
accent
#E9E33F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79