#982771#982771
#982771 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.166 H 345.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #982771 |
|---|---|
| RGB | rgb(152, 39, 113) |
| HSL | hsl(321, 59%, 37%) |
| HSV | hsv(321, 74%, 60%) |
| CMYK | cmyk(0%, 74.3%, 25.7%, 40.4%) |
| CIE-LAB | lab(36.59, 53.10, -16.04) |
| CIE-LCH | lch(36.59, 55.47, 343.19°) |
| OKLab | oklab(47.54% 0.1607 -0.0426) |
| OKLCH | oklch(47.54% 0.166 345.1) |
| XYZ | xyz(16.6557, 9.3205, 16.5415) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.35
Deep Magenta
#A0025C
ΔE00 5.67
Dark Fuchsia
#9D0759
ΔE00 6.06
Dark Magenta
#960056
ΔE00 6.29
Warm Purple
#952E8F
ΔE00 6.78
Bruise
#7E4071
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982771 #27984E
analogous
#862798 #982771 #982739
triadic
#982771 #719827 #277198
tetradic
#982771 #988627 #27984E #273998
square
#982771 #988627 #27984E #273998
split-complementary
#982771 #399827 #279886
monochromatic
#370E29 #671B4D #982771 #C93395 #D763AF
Accessibility & contrast
On white
7.33
#982771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#982771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982771
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982771 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#575D6E
Tritanopia (blue-blind)
#A22548
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #982771; /* rgb */ color: rgb(152, 39, 113); /* oklch */ color: oklch(47.5% 0.166 345.1);
Tailwind
colors: {
custom: {
50: '#ba6c9a',
500: '#982771',
950: '#000000',
},
}SCSS
$custom: #982771; $custom-light: #ba6c9a; $custom-dark: #000000;
JSON
{
"hex": "#982771",
"rgb": {
"r": 152,
"g": 39,
"b": 113
},
"hsl": {
"h": 320.708,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.47541,
"c": 0.1663,
"h": 345.1
},
"luminance": 0.09319
}Semantic roles & 50–950 ramp
primary
#982771
secondary
#5EBC7F
accent
#E27C45
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E