#981C42#981C42
#981C42 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.159 H 9.2°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #981C42 |
|---|---|
| RGB | rgb(152, 28, 66) |
| HSL | hsl(342, 69%, 35%) |
| HSV | hsv(342, 82%, 60%) |
| CMYK | cmyk(0%, 81.6%, 56.6%, 40.4%) |
| CIE-LAB | lab(33.78, 51.68, 10.04) |
| CIE-LCH | lch(33.78, 52.65, 11.00°) |
| OKLab | oklab(44.96% 0.1571 0.0254) |
| OKLCH | oklch(44.96% 0.159 9.2) |
| XYZ | xyz(14.3489, 7.9014, 5.9228) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.60
Purple Red
#990147
ΔE00 3.51
Berry
#990F4B
ΔE00 3.76
Red Wine
#8C0034
ΔE00 3.96
Raspberry (survey)
#B00149
ΔE00 4.33
Purplish Red
#B0054B
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981C42 #1C9872
analogous
#981C80 #981C42 #98341C
triadic
#981C42 #42981C #1C4298
tetradic
#981C42 #80981C #1C9872 #341C98
square
#981C42 #80981C #1C9872 #341C98
split-complementary
#981C42 #1C9834 #1C8098
monochromatic
#310915 #64122C #981C42 #CC2658 #DF507C
Accessibility & contrast
On white
8.14
#981C42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#981C42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981C42
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981C42 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4043
Deuteranopia (green-blind)
#5E583F
Tritanopia (blue-blind)
#A6002D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981c42; /* rgb */ color: rgb(152, 28, 66); /* oklch */ color: oklch(45.0% 0.159 9.2);
Tailwind
colors: {
custom: {
50: '#bd6676',
500: '#981c42',
950: '#000000',
},
}SCSS
$custom: #981c42; $custom-light: #bd6676; $custom-dark: #000000;
JSON
{
"hex": "#981c42",
"rgb": {
"r": 152,
"g": 28,
"b": 66
},
"hsl": {
"h": 341.613,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.44961,
"c": 0.1591,
"h": 9.2
},
"luminance": 0.07899
}Semantic roles & 50–950 ramp
primary
#981C42
secondary
#4EC19E
accent
#ECB63C
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B