#981E7A#981E7A
#981E7A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.182 H 340.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #981E7A |
|---|---|
| RGB | rgb(152, 30, 122) |
| HSL | hsl(315, 67%, 36%) |
| HSV | hsv(315, 80%, 60%) |
| CMYK | cmyk(0%, 80.3%, 19.7%, 40.4%) |
| CIE-LAB | lab(36.01, 57.15, -22.60) |
| CIE-LCH | lch(36.01, 61.45, 338.42°) |
| OKLab | oklab(47.25% 0.171 -0.061) |
| OKLCH | oklch(47.25% 0.182 340.4) |
| XYZ | xyz(16.9265, 9.0108, 19.2564) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.51
Warm Purple
#952E8F
ΔE00 4.72
Barney Purple
#A00498
ΔE00 5.84
Darkmagenta
#8B008B
ΔE00 6.53
Light Eggplant
#894585
ΔE00 7.34
Purple
#800080
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981E7A #1E983C
analogous
#791E98 #981E7A #981E3D
triadic
#981E7A #7A981E #1E7A98
tetradic
#981E7A #98791E #1E983C #1E3D98
square
#981E7A #98791E #1E983C #1E3D98
split-complementary
#981E7A #3D981E #1E9879
monochromatic
#320A28 #651451 #981E7A #CB28A3 #DD53BB
Accessibility & contrast
On white
7.50
#981E7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#981E7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981E7A
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981E7A | 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)
#28487C
Deuteranopia (green-blind)
#515C77
Tritanopia (blue-blind)
#A1224B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #981e7a; /* rgb */ color: rgb(152, 30, 122); /* oklch */ color: oklch(47.2% 0.182 340.4);
Tailwind
colors: {
custom: {
50: '#ba69a0',
500: '#981e7a',
950: '#000000',
},
}SCSS
$custom: #981e7a; $custom-light: #ba69a0; $custom-dark: #000000;
JSON
{
"hex": "#981e7a",
"rgb": {
"r": 152,
"g": 30,
"b": 122
},
"hsl": {
"h": 314.754,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.47247,
"c": 0.18152,
"h": 340.4
},
"luminance": 0.09009
}Semantic roles & 50–950 ramp
primary
#981E7A
secondary
#51C06D
accent
#EA683E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E