#981F39#981F39
#981F39 is a dark, vivid red. Relative luminance 0.080; OKLCH L 45.0% C 0.156 H 14.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #981F39 |
|---|---|
| RGB | rgb(152, 31, 57) |
| HSL | hsl(347, 66%, 36%) |
| HSV | hsv(347, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 62.5%, 40.4%) |
| CIE-LAB | lab(33.88, 50.16, 16.06) |
| CIE-LCH | lch(33.88, 52.67, 17.75°) |
| OKLab | oklab(44.97% 0.1506 0.0392) |
| OKLCH | oklch(44.97% 0.156 14.6) |
| XYZ | xyz(14.1789, 7.9529, 4.6586) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.81
Rouge
#AB1239
ΔE00 3.61
Red Wine
#8C0034
ΔE00 4.57
Raspberry (survey)
#B00149
ΔE00 5.83
Purplish Red
#B0054B
ΔE00 6.15
Purple Red
#990147
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F39 #1F987E
analogous
#981F75 #981F39 #98411F
triadic
#981F39 #39981F #1F3998
tetradic
#981F39 #75981F #1F987E #411F98
square
#981F39 #75981F #1F987E #411F98
split-complementary
#981F39 #1F9841 #1F7598
monochromatic
#320A13 #651526 #981F39 #CB294C #DC5572
Accessibility & contrast
On white
8.11
#981F39 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#981F39 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F39
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F39 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F39 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424039
Deuteranopia (green-blind)
#605936
Tritanopia (blue-blind)
#A7002A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981f39; /* rgb */ color: rgb(152, 31, 57); /* oklch */ color: oklch(45.0% 0.156 14.6);
Tailwind
colors: {
custom: {
50: '#bd676f',
500: '#981f39',
950: '#000000',
},
}SCSS
$custom: #981f39; $custom-light: #bd676f; $custom-dark: #000000;
JSON
{
"hex": "#981f39",
"rgb": {
"r": 152,
"g": 31,
"b": 57
},
"hsl": {
"h": 347.107,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.44974,
"c": 0.15558,
"h": 14.6
},
"luminance": 0.07951
}Semantic roles & 50–950 ramp
primary
#981F39
secondary
#53C0A8
accent
#E9C43F
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A