#981B42#981B42
#981B42 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.160 H 9.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #981B42 |
|---|---|
| RGB | rgb(152, 27, 66) |
| HSL | hsl(341, 70%, 35%) |
| HSV | hsv(341, 82%, 60%) |
| CMYK | cmyk(0%, 82.2%, 56.6%, 40.4%) |
| CIE-LAB | lab(33.68, 51.96, 9.91) |
| CIE-LCH | lch(33.68, 52.89, 10.79°) |
| OKLab | oklab(44.89% 0.158 0.0251) |
| OKLCH | oklch(44.89% 0.16 9) |
| XYZ | xyz(14.3256, 7.8547, 5.9150) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.60
Purple Red
#990147
ΔE00 3.38
Berry
#990F4B
ΔE00 3.65
Red Wine
#8C0034
ΔE00 3.90
Raspberry (survey)
#B00149
ΔE00 4.33
Purplish Red
#B0054B
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981B42 #1B9871
analogous
#981B80 #981B42 #98331B
triadic
#981B42 #42981B #1B4298
tetradic
#981B42 #80981B #1B9871 #331B98
square
#981B42 #80981B #1B9871 #331B98
split-complementary
#981B42 #1B9833 #1B8098
monochromatic
#300915 #64122B #981B42 #CC2459 #E04E7B
Accessibility & contrast
On white
8.17
#981B42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#981B42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981B42
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981B42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981B42 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3F43
Deuteranopia (green-blind)
#5E583F
Tritanopia (blue-blind)
#A6002C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981b42; /* rgb */ color: rgb(152, 27, 66); /* oklch */ color: oklch(44.9% 0.160 9.0);
Tailwind
colors: {
custom: {
50: '#bd6676',
500: '#981b42',
950: '#000000',
},
}SCSS
$custom: #981b42; $custom-light: #bd6676; $custom-dark: #000000;
JSON
{
"hex": "#981b42",
"rgb": {
"r": 152,
"g": 27,
"b": 66
},
"hsl": {
"h": 341.28,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.44889,
"c": 0.15994,
"h": 9
},
"luminance": 0.07853
}Semantic roles & 50–950 ramp
primary
#981B42
secondary
#4DC29D
accent
#EDB53B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B