#981E81#981E81
#981E81 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.186 H 337.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #981E81 |
|---|---|
| RGB | rgb(152, 30, 129) |
| HSL | hsl(311, 67%, 36%) |
| HSV | hsv(311, 80%, 60%) |
| CMYK | cmyk(0%, 80.3%, 15.1%, 40.4%) |
| CIE-LAB | lab(36.35, 58.13, -26.43) |
| CIE-LCH | lch(36.35, 63.86, 335.55°) |
| OKLab | oklab(47.61% 0.1717 -0.0719) |
| OKLCH | oklch(47.61% 0.186 337.3) |
| XYZ | xyz(17.3760, 9.1906, 21.6235) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.41
Barney Purple
#A00498
ΔE00 4.42
Darkmagenta
#8B008B
ΔE00 5.38
Red Violet
#9E0168
ΔE00 5.91
Purple
#800080
ΔE00 6.58
Light Eggplant
#894585
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981E81 #1E9835
analogous
#721E98 #981E81 #981E44
triadic
#981E81 #81981E #1E8198
tetradic
#981E81 #98721E #1E9835 #1E4498
square
#981E81 #98721E #1E9835 #1E4498
split-complementary
#981E81 #44981E #1E9872
monochromatic
#320A2A #651456 #981E81 #CB28AC #DD53C3
Accessibility & contrast
On white
7.40
#981E81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#981E81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981E81
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981E81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981E81 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#A1274E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #981e81; /* rgb */ color: rgb(152, 30, 129); /* oklch */ color: oklch(47.6% 0.186 337.3);
Tailwind
colors: {
custom: {
50: '#ba69a6',
500: '#981e81',
950: '#000000',
},
}SCSS
$custom: #981e81; $custom-light: #ba69a6; $custom-dark: #000000;
JSON
{
"hex": "#981e81",
"rgb": {
"r": 152,
"g": 30,
"b": 129
},
"hsl": {
"h": 311.311,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.47606,
"c": 0.18617,
"h": 337.3
},
"luminance": 0.09189
}Semantic roles & 50–950 ramp
primary
#981E81
secondary
#51C066
accent
#EA5E3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F