#981C40#981C40
#981C40 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.159 H 10.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #981C40 |
|---|---|
| RGB | rgb(152, 28, 64) |
| HSL | hsl(343, 69%, 35%) |
| HSV | hsv(343, 82%, 60%) |
| CMYK | cmyk(0%, 81.6%, 57.9%, 40.4%) |
| CIE-LAB | lab(33.73, 51.53, 11.28) |
| CIE-LCH | lch(33.73, 52.75, 12.35°) |
| OKLab | oklab(44.91% 0.1563 0.0283) |
| OKLCH | oklch(44.91% 0.159 10.3) |
| XYZ | xyz(14.2910, 7.8782, 5.6176) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.21
Red Wine
#8C0034
ΔE00 3.79
Purple Red
#990147
ΔE00 4.09
Berry
#990F4B
ΔE00 4.41
Raspberry (survey)
#B00149
ΔE00 4.46
Purplish Red
#B0054B
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981C40 #1C9874
analogous
#981C7E #981C40 #98361C
triadic
#981C40 #40981C #1C4098
tetradic
#981C40 #7E981C #1C9874 #361C98
square
#981C40 #7E981C #1C9874 #361C98
split-complementary
#981C40 #1C9836 #1C7E98
monochromatic
#310914 #64122A #981C40 #CC2656 #DF5079
Accessibility & contrast
On white
8.15
#981C40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#981C40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981C40
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981C40 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3F41
Deuteranopia (green-blind)
#5F583D
Tritanopia (blue-blind)
#A7002C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981c40; /* rgb */ color: rgb(152, 28, 64); /* oklch */ color: oklch(44.9% 0.159 10.3);
Tailwind
colors: {
custom: {
50: '#bd6674',
500: '#981c40',
950: '#000000',
},
}SCSS
$custom: #981c40; $custom-light: #bd6674; $custom-dark: #000000;
JSON
{
"hex": "#981c40",
"rgb": {
"r": 152,
"g": 28,
"b": 64
},
"hsl": {
"h": 342.581,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.44909,
"c": 0.15881,
"h": 10.3
},
"luminance": 0.07876
}Semantic roles & 50–950 ramp
primary
#981C40
secondary
#4EC1A0
accent
#ECB93C
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B