#981F77#981F77
#981F77 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.179 H 341.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #981F77 |
|---|---|
| RGB | rgb(152, 31, 119) |
| HSL | hsl(316, 66%, 36%) |
| HSV | hsv(316, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 21.7%, 40.4%) |
| CIE-LAB | lab(35.96, 56.45, -20.78) |
| CIE-LCH | lch(35.96, 60.16, 339.79°) |
| OKLab | oklab(47.17% 0.1697 -0.0559) |
| OKLCH | oklch(47.17% 0.179 341.8) |
| XYZ | xyz(16.7692, 8.9890, 18.3011) |
| Luminance | 0.0899 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.93
Warm Purple
#952E8F
ΔE00 5.32
Barney Purple
#A00498
ΔE00 6.53
Deep Magenta
#A0025C
ΔE00 6.93
Darkmagenta
#8B008B
ΔE00 7.16
Dark Fuchsia
#9D0759
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F77 #1F9840
analogous
#7C1F98 #981F77 #981F3A
triadic
#981F77 #77981F #1F7798
tetradic
#981F77 #987C1F #1F9840 #1F3A98
square
#981F77 #987C1F #1F9840 #1F3A98
split-complementary
#981F77 #3A981F #1F987C
monochromatic
#320A27 #65154F #981F77 #CB299F #DC55B7
Accessibility & contrast
On white
7.51
#981F77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#981F77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F77
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F77 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#525C74
Tritanopia (blue-blind)
#A22149
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #981f77; /* rgb */ color: rgb(152, 31, 119); /* oklch */ color: oklch(47.2% 0.179 341.8);
Tailwind
colors: {
custom: {
50: '#ba699e',
500: '#981f77',
950: '#000000',
},
}SCSS
$custom: #981f77; $custom-light: #ba699e; $custom-dark: #000000;
JSON
{
"hex": "#981f77",
"rgb": {
"r": 152,
"g": 31,
"b": 119
},
"hsl": {
"h": 316.364,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.47171,
"c": 0.17864,
"h": 341.8
},
"luminance": 0.08987
}Semantic roles & 50–950 ramp
primary
#981F77
secondary
#53C071
accent
#E96D3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E