#981F79#981F79
#981F79 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.180 H 340.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #981F79 |
|---|---|
| RGB | rgb(152, 31, 121) |
| HSL | hsl(315, 66%, 36%) |
| HSV | hsv(315, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 20.4%, 40.4%) |
| CIE-LAB | lab(36.06, 56.73, -21.89) |
| CIE-LCH | lch(36.06, 60.80, 338.90°) |
| OKLab | oklab(47.27% 0.17 -0.059) |
| OKLCH | oklch(47.27% 0.18 340.8) |
| XYZ | xyz(16.8906, 9.0376, 18.9404) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.32
Warm Purple
#952E8F
ΔE00 4.91
Barney Purple
#A00498
ΔE00 6.10
Darkmagenta
#8B008B
ΔE00 6.79
Light Eggplant
#894585
ΔE00 7.32
Deep Magenta
#A0025C
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F79 #1F983E
analogous
#7A1F98 #981F79 #981F3C
triadic
#981F79 #79981F #1F7998
tetradic
#981F79 #987A1F #1F983E #1F3C98
square
#981F79 #987A1F #1F983E #1F3C98
split-complementary
#981F79 #3C981F #1F987A
monochromatic
#320A28 #651551 #981F79 #CB29A1 #DC55BA
Accessibility & contrast
On white
7.48
#981F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#981F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F79
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F79 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A487B
Deuteranopia (green-blind)
#525C76
Tritanopia (blue-blind)
#A2224A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #981f79; /* rgb */ color: rgb(152, 31, 121); /* oklch */ color: oklch(47.3% 0.180 340.8);
Tailwind
colors: {
custom: {
50: '#ba69a0',
500: '#981f79',
950: '#000000',
},
}SCSS
$custom: #981f79; $custom-light: #ba69a0; $custom-dark: #000000;
JSON
{
"hex": "#981f79",
"rgb": {
"r": 152,
"g": 31,
"b": 121
},
"hsl": {
"h": 315.372,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.47269,
"c": 0.17992,
"h": 340.8
},
"luminance": 0.09036
}Semantic roles & 50–950 ramp
primary
#981F79
secondary
#53C06F
accent
#E96A3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E