#981F3B#981F3B
#981F3B is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.0% C 0.156 H 13.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #981F3B |
|---|---|
| RGB | rgb(152, 31, 59) |
| HSL | hsl(346, 66%, 36%) |
| HSV | hsv(346, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 61.2%, 40.4%) |
| CIE-LAB | lab(33.93, 50.29, 14.81) |
| CIE-LCH | lch(33.93, 52.43, 16.41°) |
| OKLab | oklab(45.02% 0.1514 0.0364) |
| OKLCH | oklch(45.02% 0.156 13.5) |
| XYZ | xyz(14.2298, 7.9733, 4.9265) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.46
Rouge
#AB1239
ΔE00 3.87
Red Wine
#8C0034
ΔE00 4.29
Raspberry (survey)
#B00149
ΔE00 5.39
Purplish Red
#B0054B
ΔE00 5.67
Purple Red
#990147
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F3B #1F987C
analogous
#981F77 #981F3B #98401F
triadic
#981F3B #3B981F #1F3B98
tetradic
#981F3B #77981F #1F987C #401F98
square
#981F3B #77981F #1F987C #401F98
split-complementary
#981F3B #1F9840 #1F7798
monochromatic
#320A14 #651527 #981F3B #CB294F #DC5574
Accessibility & contrast
On white
8.09
#981F3B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#981F3B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F3B
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F3B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F3B | 1.00 | 8.09 | 2.59 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41403B
Deuteranopia (green-blind)
#605938
Tritanopia (blue-blind)
#A7002B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981f3b; /* rgb */ color: rgb(152, 31, 59); /* oklch */ color: oklch(45.0% 0.156 13.5);
Tailwind
colors: {
custom: {
50: '#bd6770',
500: '#981f3b',
950: '#000000',
},
}SCSS
$custom: #981f3b; $custom-light: #bd6770; $custom-dark: #000000;
JSON
{
"hex": "#981f3b",
"rgb": {
"r": 152,
"g": 31,
"b": 59
},
"hsl": {
"h": 346.116,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.45019,
"c": 0.15569,
"h": 13.5
},
"luminance": 0.07971
}Semantic roles & 50–950 ramp
primary
#981F3B
secondary
#53C0A7
accent
#E9C23F
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A