#981F28#981F28
#981F28 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.7% C 0.156 H 22.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #981F28 |
|---|---|
| RGB | rgb(152, 31, 40) |
| HSL | hsl(356, 66%, 36%) |
| HSV | hsv(356, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 73.7%, 40.4%) |
| CIE-LAB | lab(33.59, 49.21, 26.55) |
| CIE-LCH | lch(33.59, 55.92, 28.35°) |
| OKLab | oklab(44.66% 0.1438 0.0605) |
| OKLCH | oklch(44.66% 0.156 22.8) |
| XYZ | xyz(13.8235, 7.8107, 2.7868) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.84
Carmine
#9D0216
ΔE00 4.18
Crimson (survey)
#8C000F
ΔE00 5.73
Rouge
#AB1239
ΔE00 6.03
Firebrick
#B22222
ΔE00 6.53
Burgundy
#800020
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F28 #1F988F
analogous
#981F64 #981F28 #98521F
triadic
#981F28 #28981F #1F2898
tetradic
#981F28 #64981F #1F988F #521F98
square
#981F28 #64981F #1F988F #521F98
split-complementary
#981F28 #1F9852 #1F6498
monochromatic
#320A0D #65151B #981F28 #CB2935 #DC555F
Accessibility & contrast
On white
8.20
#981F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#981F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F28
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F28 | 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)
#443E27
Deuteranopia (green-blind)
#625824
Tritanopia (blue-blind)
#A80024
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981f28; /* rgb */ color: rgb(152, 31, 40); /* oklch */ color: oklch(44.7% 0.156 22.8);
Tailwind
colors: {
custom: {
50: '#be6762',
500: '#981f28',
950: '#000000',
},
}SCSS
$custom: #981f28; $custom-light: #be6762; $custom-dark: #000000;
JSON
{
"hex": "#981f28",
"rgb": {
"r": 152,
"g": 31,
"b": 40
},
"hsl": {
"h": 355.537,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.44656,
"c": 0.15599,
"h": 22.8
},
"luminance": 0.07809
}Semantic roles & 50–950 ramp
primary
#981F28
secondary
#53C0B8
accent
#E9DC3F
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79