#981D79#981D79
#981D79 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.182 H 340.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #981D79 |
|---|---|
| RGB | rgb(152, 29, 121) |
| HSL | hsl(315, 68%, 35%) |
| HSV | hsv(315, 81%, 60%) |
| CMYK | cmyk(0%, 80.9%, 20.4%, 40.4%) |
| CIE-LAB | lab(35.86, 57.29, -22.20) |
| CIE-LCH | lch(35.86, 61.43, 338.82°) |
| OKLab | oklab(47.13% 0.1717 -0.0599) |
| OKLCH | oklch(47.13% 0.182 340.8) |
| XYZ | xyz(16.8400, 8.9364, 18.9235) |
| Luminance | 0.0893 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.30
Warm Purple
#952E8F
ΔE00 4.94
Barney Purple
#A00498
ΔE00 6.01
Darkmagenta
#8B008B
ΔE00 6.63
Deep Magenta
#A0025C
ΔE00 7.38
Purple
#800080
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981D79 #1D983C
analogous
#791D98 #981D79 #981D3B
triadic
#981D79 #79981D #1D7998
tetradic
#981D79 #98791D #1D983C #1D3B98
square
#981D79 #98791D #1D983C #1D3B98
split-complementary
#981D79 #3B981D #1D9879
monochromatic
#310927 #651350 #981D79 #CB27A2 #DE52BB
Accessibility & contrast
On white
7.53
#981D79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#981D79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981D79
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981D79 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#515B76
Tritanopia (blue-blind)
#A2214A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #981d79; /* rgb */ color: rgb(152, 29, 121); /* oklch */ color: oklch(47.1% 0.182 340.8);
Tailwind
colors: {
custom: {
50: '#ba69a0',
500: '#981d79',
950: '#000000',
},
}SCSS
$custom: #981d79; $custom-light: #ba69a0; $custom-dark: #000000;
JSON
{
"hex": "#981d79",
"rgb": {
"r": 152,
"g": 29,
"b": 121
},
"hsl": {
"h": 315.122,
"s": 67.956,
"l": 35.49
},
"oklch": {
"l": 0.47128,
"c": 0.18181,
"h": 340.8
},
"luminance": 0.08935
}Semantic roles & 50–950 ramp
primary
#981D79
secondary
#50C16C
accent
#EB693D
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E