#981F29#981F29
#981F29 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.7% C 0.156 H 22.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #981F29 |
|---|---|
| RGB | rgb(152, 31, 41) |
| HSL | hsl(355, 66%, 36%) |
| HSV | hsv(355, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 73%, 40.4%) |
| CIE-LAB | lab(33.60, 49.26, 25.94) |
| CIE-LCH | lch(33.60, 55.67, 27.77°) |
| OKLab | oklab(44.67% 0.1442 0.0594) |
| OKLCH | oklch(44.67% 0.156 22.4) |
| XYZ | xyz(13.8407, 7.8176, 2.8776) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 4.01
Carmine
#9D0216
ΔE00 4.48
Rouge
#AB1239
ΔE00 5.76
Crimson (survey)
#8C000F
ΔE00 5.98
Burgundy
#800020
ΔE00 6.46
Firebrick
#B22222
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F29 #1F988E
analogous
#981F65 #981F29 #98511F
triadic
#981F29 #29981F #1F2998
tetradic
#981F29 #65981F #1F988E #511F98
square
#981F29 #65981F #1F988E #511F98
split-complementary
#981F29 #1F9851 #1F6598
monochromatic
#320A0E #65151B #981F29 #CB2937 #DC5560
Accessibility & contrast
On white
8.19
#981F29 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#981F29 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F29
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F29 | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443E28
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#A80024
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981f29; /* rgb */ color: rgb(152, 31, 41); /* oklch */ color: oklch(44.7% 0.156 22.4);
Tailwind
colors: {
custom: {
50: '#be6762',
500: '#981f29',
950: '#000000',
},
}SCSS
$custom: #981f29; $custom-light: #be6762; $custom-dark: #000000;
JSON
{
"hex": "#981f29",
"rgb": {
"r": 152,
"g": 31,
"b": 41
},
"hsl": {
"h": 355.041,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.44672,
"c": 0.15591,
"h": 22.4
},
"luminance": 0.07815
}Semantic roles & 50–950 ramp
primary
#981F29
secondary
#53C0B7
accent
#E9DB3F
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79