#981F20#981F20
#981F20 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.5% C 0.157 H 26.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #981F20 |
|---|---|
| RGB | rgb(152, 31, 32) |
| HSL | hsl(360, 66%, 36%) |
| HSV | hsv(360, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 78.9%, 40.4%) |
| CIE-LAB | lab(33.48, 48.88, 31.31) |
| CIE-LCH | lch(33.48, 58.05, 32.64°) |
| OKLab | oklab(44.55% 0.1409 0.0689) |
| OKLCH | oklch(44.55% 0.157 26) |
| XYZ | xyz(13.7012, 7.7618, 2.1430) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.43
Brown
#A52A2A
ΔE00 3.41
Crimson (survey)
#8C000F
ΔE00 4.27
Firebrick
#B22222
ΔE00 5.38
Blood Red
#980002
ΔE00 5.48
Brownish Red
#9E3623
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F20 #1F9897
analogous
#981F5C #981F20 #985A1F
triadic
#981F20 #20981F #1F2098
tetradic
#981F20 #5C981F #1F9897 #5A1F98
square
#981F20 #5C981F #1F9897 #5A1F98
split-complementary
#981F20 #1F985A #1F5C98
monochromatic
#320A0B #651515 #981F20 #CB292B #DC5556
Accessibility & contrast
On white
8.23
#981F20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#981F20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F20
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F20 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E1E
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#A80021
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981f20; /* rgb */ color: rgb(152, 31, 32); /* oklch */ color: oklch(44.5% 0.157 26.0);
Tailwind
colors: {
custom: {
50: '#bf675c',
500: '#981f20',
950: '#000000',
},
}SCSS
$custom: #981f20; $custom-light: #bf675c; $custom-dark: #000000;
JSON
{
"hex": "#981f20",
"rgb": {
"r": 152,
"g": 31,
"b": 32
},
"hsl": {
"h": 359.504,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.44546,
"c": 0.15683,
"h": 26
},
"luminance": 0.0776
}Semantic roles & 50–950 ramp
primary
#981F20
secondary
#53C0BF
accent
#E9E83F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140604
muted
#827A79