#981F2A#981F2A
#981F2A is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.7% C 0.156 H 21.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #981F2A |
|---|---|
| RGB | rgb(152, 31, 42) |
| HSL | hsl(355, 66%, 36%) |
| HSV | hsv(355, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 72.4%, 40.4%) |
| CIE-LAB | lab(33.62, 49.31, 25.33) |
| CIE-LCH | lch(33.62, 55.43, 27.19°) |
| OKLab | oklab(44.69% 0.1446 0.0582) |
| OKLCH | oklch(44.69% 0.156 21.9) |
| XYZ | xyz(13.8584, 7.8247, 2.9707) |
| Luminance | 0.0782 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 4.21
Carmine
#9D0216
ΔE00 4.78
Rouge
#AB1239
ΔE00 5.48
Crimson (survey)
#8C000F
ΔE00 6.24
Burgundy
#800020
ΔE00 6.35
Firebrick
#B22222
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F2A #1F988D
analogous
#981F66 #981F2A #98501F
triadic
#981F2A #2A981F #1F2A98
tetradic
#981F2A #66981F #1F988D #501F98
square
#981F2A #66981F #1F988D #501F98
split-complementary
#981F2A #1F9850 #1F6698
monochromatic
#320A0E #65151C #981F2A #CB2938 #DC5561
Accessibility & contrast
On white
8.19
#981F2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#981F2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F2A
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F2A | 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)
#443F29
Deuteranopia (green-blind)
#625826
Tritanopia (blue-blind)
#A80024
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981f2a; /* rgb */ color: rgb(152, 31, 42); /* oklch */ color: oklch(44.7% 0.156 21.9);
Tailwind
colors: {
custom: {
50: '#be6763',
500: '#981f2a',
950: '#000000',
},
}SCSS
$custom: #981f2a; $custom-light: #be6763; $custom-dark: #000000;
JSON
{
"hex": "#981f2a",
"rgb": {
"r": 152,
"g": 31,
"b": 42
},
"hsl": {
"h": 354.545,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.44688,
"c": 0.15583,
"h": 21.9
},
"luminance": 0.07823
}Semantic roles & 50–950 ramp
primary
#981F2A
secondary
#53C0B6
accent
#E9DA3F
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79