#981F3A#981F3A
#981F3A is a dark, vivid red. Relative luminance 0.080; OKLCH L 45.0% C 0.156 H 14.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #981F3A |
|---|---|
| RGB | rgb(152, 31, 58) |
| HSL | hsl(347, 66%, 36%) |
| HSV | hsv(347, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 61.8%, 40.4%) |
| CIE-LAB | lab(33.91, 50.22, 15.44) |
| CIE-LCH | lch(33.91, 52.54, 17.08°) |
| OKLab | oklab(45% 0.151 0.0378) |
| OKLCH | oklch(45% 0.156 14.1) |
| XYZ | xyz(14.2041, 7.9630, 4.7913) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.62
Rouge
#AB1239
ΔE00 3.73
Red Wine
#8C0034
ΔE00 4.42
Raspberry (survey)
#B00149
ΔE00 5.60
Purplish Red
#B0054B
ΔE00 5.90
Purple Red
#990147
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F3A #1F987D
analogous
#981F76 #981F3A #98411F
triadic
#981F3A #3A981F #1F3A98
tetradic
#981F3A #76981F #1F987D #411F98
square
#981F3A #76981F #1F987D #411F98
split-complementary
#981F3A #1F9841 #1F7698
monochromatic
#320A13 #651527 #981F3A #CB294D #DC5573
Accessibility & contrast
On white
8.10
#981F3A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#981F3A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F3A
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F3A | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41403A
Deuteranopia (green-blind)
#605937
Tritanopia (blue-blind)
#A7002B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981f3a; /* rgb */ color: rgb(152, 31, 58); /* oklch */ color: oklch(45.0% 0.156 14.1);
Tailwind
colors: {
custom: {
50: '#bd676f',
500: '#981f3a',
950: '#000000',
},
}SCSS
$custom: #981f3a; $custom-light: #bd676f; $custom-dark: #000000;
JSON
{
"hex": "#981f3a",
"rgb": {
"r": 152,
"g": 31,
"b": 58
},
"hsl": {
"h": 346.612,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.44997,
"c": 0.15562,
"h": 14.1
},
"luminance": 0.07961
}Semantic roles & 50–950 ramp
primary
#981F3A
secondary
#53C0A8
accent
#E9C33F
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A