#981E7D#981E7D
#981E7D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.183 H 339.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #981E7D |
|---|---|
| RGB | rgb(152, 30, 125) |
| HSL | hsl(313, 67%, 36%) |
| HSV | hsv(313, 80%, 60%) |
| CMYK | cmyk(0%, 80.3%, 17.8%, 40.4%) |
| CIE-LAB | lab(36.15, 57.56, -24.25) |
| CIE-LCH | lch(36.15, 62.46, 337.16°) |
| OKLab | oklab(47.4% 0.1713 -0.0657) |
| OKLCH | oklch(47.4% 0.183 339) |
| XYZ | xyz(17.1153, 9.0863, 20.2505) |
| Luminance | 0.0909 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.13
Red Violet
#9E0168
ΔE00 5.11
Barney Purple
#A00498
ΔE00 5.22
Darkmagenta
#8B008B
ΔE00 6.01
Purple
#800080
ΔE00 6.98
Light Eggplant
#894585
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981E7D #1E9839
analogous
#761E98 #981E7D #981E40
triadic
#981E7D #7D981E #1E7D98
tetradic
#981E7D #98761E #1E9839 #1E4098
square
#981E7D #98761E #1E9839 #1E4098
split-complementary
#981E7D #40981E #1E9876
monochromatic
#320A29 #651453 #981E7D #CB28A7 #DD53BF
Accessibility & contrast
On white
7.45
#981E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#981E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981E7D
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981E7D | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#505C7A
Tritanopia (blue-blind)
#A1244C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #981e7d; /* rgb */ color: rgb(152, 30, 125); /* oklch */ color: oklch(47.4% 0.183 339.0);
Tailwind
colors: {
custom: {
50: '#ba69a3',
500: '#981e7d',
950: '#000000',
},
}SCSS
$custom: #981e7d; $custom-light: #ba69a3; $custom-dark: #000000;
JSON
{
"hex": "#981e7d",
"rgb": {
"r": 152,
"g": 30,
"b": 125
},
"hsl": {
"h": 313.279,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.47398,
"c": 0.18348,
"h": 339
},
"luminance": 0.09085
}Semantic roles & 50–950 ramp
primary
#981E7D
secondary
#51C06A
accent
#EA643E
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F