#981C79#981C79
#981C79 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.183 H 340.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #981C79 |
|---|---|
| RGB | rgb(152, 28, 121) |
| HSL | hsl(315, 69%, 35%) |
| HSV | hsv(315, 82%, 60%) |
| CMYK | cmyk(0%, 81.6%, 20.4%, 40.4%) |
| CIE-LAB | lab(35.77, 57.55, -22.34) |
| CIE-LCH | lch(35.77, 61.74, 338.79°) |
| OKLab | oklab(47.06% 0.1725 -0.0603) |
| OKLCH | oklch(47.06% 0.183 340.7) |
| XYZ | xyz(16.8159, 8.8881, 18.9154) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.30
Warm Purple
#952E8F
ΔE00 4.96
Barney Purple
#A00498
ΔE00 5.96
Darkmagenta
#8B008B
ΔE00 6.55
Purple
#800080
ΔE00 7.33
Deep Magenta
#A0025C
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981C79 #1C983B
analogous
#791C98 #981C79 #981C3B
triadic
#981C79 #79981C #1C7998
tetradic
#981C79 #98791C #1C983B #1C3B98
square
#981C79 #98791C #1C983B #1C3B98
split-complementary
#981C79 #3B981C #1C9879
monochromatic
#310927 #641250 #981C79 #CC26A2 #DF50BB
Accessibility & contrast
On white
7.56
#981C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#981C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981C79
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981C79 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#515B76
Tritanopia (blue-blind)
#A2204A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #981c79; /* rgb */ color: rgb(152, 28, 121); /* oklch */ color: oklch(47.1% 0.183 340.7);
Tailwind
colors: {
custom: {
50: '#ba68a0',
500: '#981c79',
950: '#000000',
},
}SCSS
$custom: #981c79; $custom-light: #ba68a0; $custom-dark: #000000;
JSON
{
"hex": "#981c79",
"rgb": {
"r": 152,
"g": 28,
"b": 121
},
"hsl": {
"h": 315,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.47061,
"c": 0.18272,
"h": 340.7
},
"luminance": 0.08886
}Semantic roles & 50–950 ramp
primary
#981C79
secondary
#4EC16B
accent
#EC683C
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E