#981D7C#981D7C
#981D7C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.184 H 339.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #981D7C |
|---|---|
| RGB | rgb(152, 29, 124) |
| HSL | hsl(314, 68%, 35%) |
| HSV | hsv(314, 81%, 60%) |
| CMYK | cmyk(0%, 80.9%, 18.4%, 40.4%) |
| CIE-LAB | lab(36.01, 57.70, -23.85) |
| CIE-LCH | lch(36.01, 62.43, 337.54°) |
| OKLab | oklab(47.28% 0.172 -0.0646) |
| OKLCH | oklch(47.28% 0.184 339.4) |
| XYZ | xyz(17.0268, 9.0111, 19.9075) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.35
Red Violet
#9E0168
ΔE00 4.91
Barney Purple
#A00498
ΔE00 5.38
Darkmagenta
#8B008B
ΔE00 6.10
Purple
#800080
ΔE00 7.02
Light Eggplant
#894585
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981D7C #1D9839
analogous
#771D98 #981D7C #981D3E
triadic
#981D7C #7C981D #1D7C98
tetradic
#981D7C #98771D #1D9839 #1D3E98
square
#981D7C #98771D #1D9839 #1D3E98
split-complementary
#981D7C #3E981D #1D9877
monochromatic
#310928 #651352 #981D7C #CB27A6 #DE52BE
Accessibility & contrast
On white
7.50
#981D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#981D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981D7C
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981D7C | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26487E
Deuteranopia (green-blind)
#505B79
Tritanopia (blue-blind)
#A1234B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #981d7c; /* rgb */ color: rgb(152, 29, 124); /* oklch */ color: oklch(47.3% 0.184 339.4);
Tailwind
colors: {
custom: {
50: '#ba69a2',
500: '#981d7c',
950: '#000000',
},
}SCSS
$custom: #981d7c; $custom-light: #ba69a2; $custom-dark: #000000;
JSON
{
"hex": "#981d7c",
"rgb": {
"r": 152,
"g": 29,
"b": 124
},
"hsl": {
"h": 313.659,
"s": 67.956,
"l": 35.49
},
"oklch": {
"l": 0.47279,
"c": 0.18375,
"h": 339.4
},
"luminance": 0.09009
}Semantic roles & 50–950 ramp
primary
#981D7C
secondary
#50C16A
accent
#EB653D
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F