#981B41#981B41
#981B41 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.160 H 9.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #981B41 |
|---|---|
| RGB | rgb(152, 27, 65) |
| HSL | hsl(342, 70%, 35%) |
| HSV | hsv(342, 82%, 60%) |
| CMYK | cmyk(0%, 82.2%, 57.2%, 40.4%) |
| CIE-LAB | lab(33.65, 51.88, 10.53) |
| CIE-LCH | lch(33.65, 52.94, 11.47°) |
| OKLab | oklab(44.86% 0.1576 0.0266) |
| OKLCH | oklch(44.86% 0.16 9.6) |
| XYZ | xyz(14.2964, 7.8430, 5.7611) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.38
Purple Red
#990147
ΔE00 3.66
Red Wine
#8C0034
ΔE00 3.80
Berry
#990F4B
ΔE00 3.97
Raspberry (survey)
#B00149
ΔE00 4.37
Purplish Red
#B0054B
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981B41 #1B9872
analogous
#981B7F #981B41 #98341B
triadic
#981B41 #41981B #1B4198
tetradic
#981B41 #7F981B #1B9872 #341B98
square
#981B41 #7F981B #1B9872 #341B98
split-complementary
#981B41 #1B9834 #1B7F98
monochromatic
#300915 #64122B #981B41 #CC2457 #E04E7A
Accessibility & contrast
On white
8.18
#981B41 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#981B41 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981B41
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981B41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981B41 | 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)
#3E3F42
Deuteranopia (green-blind)
#5E583E
Tritanopia (blue-blind)
#A7002C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981b41; /* rgb */ color: rgb(152, 27, 65); /* oklch */ color: oklch(44.9% 0.160 9.6);
Tailwind
colors: {
custom: {
50: '#bd6675',
500: '#981b41',
950: '#000000',
},
}SCSS
$custom: #981b41; $custom-light: #bd6675; $custom-dark: #000000;
JSON
{
"hex": "#981b41",
"rgb": {
"r": 152,
"g": 27,
"b": 65
},
"hsl": {
"h": 341.76,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.44863,
"c": 0.15978,
"h": 9.6
},
"luminance": 0.07841
}Semantic roles & 50–950 ramp
primary
#981B41
secondary
#4DC29E
accent
#EDB73B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B