#981F2B#981F2B
#981F2B is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.7% C 0.156 H 21.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #981F2B |
|---|---|
| RGB | rgb(152, 31, 43) |
| HSL | hsl(354, 66%, 36%) |
| HSV | hsv(354, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 71.7%, 40.4%) |
| CIE-LAB | lab(33.63, 49.35, 24.72) |
| CIE-LCH | lch(33.63, 55.20, 26.61°) |
| OKLab | oklab(44.7% 0.1449 0.0571) |
| OKLCH | oklch(44.7% 0.156 21.5) |
| XYZ | xyz(13.8765, 7.8320, 3.0661) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 4.43
Carmine
#9D0216
ΔE00 5.08
Rouge
#AB1239
ΔE00 5.22
Burgundy
#800020
ΔE00 6.26
Crimson (survey)
#8C000F
ΔE00 6.50
Cranberry
#9E003A
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F2B #1F988C
analogous
#981F67 #981F2B #98501F
triadic
#981F2B #2B981F #1F2B98
tetradic
#981F2B #67981F #1F988C #501F98
square
#981F2B #67981F #1F988C #501F98
split-complementary
#981F2B #1F9850 #1F6798
monochromatic
#320A0E #65151D #981F2B #CB2939 #DC5562
Accessibility & contrast
On white
8.18
#981F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#981F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F2B
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F2B | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443F2A
Deuteranopia (green-blind)
#625827
Tritanopia (blue-blind)
#A70025
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981f2b; /* rgb */ color: rgb(152, 31, 43); /* oklch */ color: oklch(44.7% 0.156 21.5);
Tailwind
colors: {
custom: {
50: '#be6764',
500: '#981f2b',
950: '#000000',
},
}SCSS
$custom: #981f2b; $custom-light: #be6764; $custom-dark: #000000;
JSON
{
"hex": "#981f2b",
"rgb": {
"r": 152,
"g": 31,
"b": 43
},
"hsl": {
"h": 354.05,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.44704,
"c": 0.15576,
"h": 21.5
},
"luminance": 0.0783
}Semantic roles & 50–950 ramp
primary
#981F2B
secondary
#53C0B5
accent
#E9D83F
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79