#981F27#981F27
#981F27 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.6% C 0.156 H 23.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #981F27 |
|---|---|
| RGB | rgb(152, 31, 39) |
| HSL | hsl(356, 66%, 36%) |
| HSV | hsv(356, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 74.3%, 40.4%) |
| CIE-LAB | lab(33.57, 49.17, 27.16) |
| CIE-LCH | lch(33.57, 56.17, 28.91°) |
| OKLab | oklab(44.64% 0.1434 0.0616) |
| OKLCH | oklch(44.64% 0.156 23.2) |
| XYZ | xyz(13.8067, 7.8040, 2.6984) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.68
Carmine
#9D0216
ΔE00 3.90
Crimson (survey)
#8C000F
ΔE00 5.50
Rouge
#AB1239
ΔE00 6.32
Firebrick
#B22222
ΔE00 6.34
Burgundy
#800020
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F27 #1F9890
analogous
#981F63 #981F27 #98531F
triadic
#981F27 #27981F #1F2798
tetradic
#981F27 #63981F #1F9890 #531F98
square
#981F27 #63981F #1F9890 #531F98
split-complementary
#981F27 #1F9853 #1F6398
monochromatic
#320A0D #65151A #981F27 #CB2934 #DC555E
Accessibility & contrast
On white
8.20
#981F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#981F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F27
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F27 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443E26
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#A80023
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981f27; /* rgb */ color: rgb(152, 31, 39); /* oklch */ color: oklch(44.6% 0.156 23.2);
Tailwind
colors: {
custom: {
50: '#be6761',
500: '#981f27',
950: '#000000',
},
}SCSS
$custom: #981f27; $custom-light: #be6761; $custom-dark: #000000;
JSON
{
"hex": "#981f27",
"rgb": {
"r": 152,
"g": 31,
"b": 39
},
"hsl": {
"h": 356.033,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.44641,
"c": 0.15608,
"h": 23.2
},
"luminance": 0.07802
}Semantic roles & 50–950 ramp
primary
#981F27
secondary
#53C0B9
accent
#E9DE3F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79