#981F81#981F81
#981F81 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.7% C 0.185 H 337.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #981F81 |
|---|---|
| RGB | rgb(152, 31, 129) |
| HSL | hsl(311, 66%, 36%) |
| HSV | hsv(311, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 15.1%, 40.4%) |
| CIE-LAB | lab(36.45, 57.85, -26.28) |
| CIE-LCH | lch(36.45, 63.54, 335.57°) |
| OKLab | oklab(47.68% 0.1709 -0.0715) |
| OKLCH | oklch(47.68% 0.185 337.3) |
| XYZ | xyz(17.4017, 9.2420, 21.6320) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.37
Barney Purple
#A00498
ΔE00 4.47
Darkmagenta
#8B008B
ΔE00 5.47
Red Violet
#9E0168
ΔE00 5.91
Purple
#800080
ΔE00 6.66
Light Eggplant
#894585
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F81 #1F9836
analogous
#721F98 #981F81 #981F44
triadic
#981F81 #81981F #1F8198
tetradic
#981F81 #98721F #1F9836 #1F4498
square
#981F81 #98721F #1F9836 #1F4498
split-complementary
#981F81 #44981F #1F9872
monochromatic
#320A2B #651556 #981F81 #CB29AC #DC55C3
Accessibility & contrast
On white
7.37
#981F81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#981F81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F81
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F81 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244A84
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#A0274F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #981f81; /* rgb */ color: rgb(152, 31, 129); /* oklch */ color: oklch(47.7% 0.185 337.3);
Tailwind
colors: {
custom: {
50: '#ba6aa6',
500: '#981f81',
950: '#000000',
},
}SCSS
$custom: #981f81; $custom-light: #ba6aa6; $custom-dark: #000000;
JSON
{
"hex": "#981f81",
"rgb": {
"r": 152,
"g": 31,
"b": 129
},
"hsl": {
"h": 311.405,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.47676,
"c": 0.18523,
"h": 337.3
},
"luminance": 0.0924
}Semantic roles & 50–950 ramp
primary
#981F81
secondary
#53C068
accent
#E95F3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F