#982871#982871
#982871 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.165 H 345.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #982871 |
|---|---|
| RGB | rgb(152, 40, 113) |
| HSL | hsl(321, 58%, 38%) |
| HSV | hsv(321, 74%, 60%) |
| CMYK | cmyk(0%, 73.7%, 25.7%, 40.4%) |
| CIE-LAB | lab(36.72, 52.75, -15.85) |
| CIE-LCH | lch(36.72, 55.08, 343.28°) |
| OKLab | oklab(47.63% 0.1596 -0.0421) |
| OKLCH | oklch(47.63% 0.165 345.2) |
| XYZ | xyz(16.6890, 9.3870, 16.5526) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.45
Deep Magenta
#A0025C
ΔE00 5.69
Dark Fuchsia
#9D0759
ΔE00 6.07
Dark Magenta
#960056
ΔE00 6.33
Bruise
#7E4071
ΔE00 6.75
Warm Purple
#952E8F
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982871 #28984F
analogous
#872898 #982871 #982839
triadic
#982871 #719828 #287198
tetradic
#982871 #988728 #28984F #283998
square
#982871 #988728 #28984F #283998
split-complementary
#982871 #399828 #289887
monochromatic
#370F29 #681B4D #982871 #C83595 #D664AF
Accessibility & contrast
On white
7.30
#982871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#982871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982871
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982871 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#575D6E
Tritanopia (blue-blind)
#A22649
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #982871; /* rgb */ color: rgb(152, 40, 113); /* oklch */ color: oklch(47.6% 0.165 345.2);
Tailwind
colors: {
custom: {
50: '#ba6d9a',
500: '#982871',
950: '#000000',
},
}SCSS
$custom: #982871; $custom-light: #ba6d9a; $custom-dark: #000000;
JSON
{
"hex": "#982871",
"rgb": {
"r": 152,
"g": 40,
"b": 113
},
"hsl": {
"h": 320.893,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.47632,
"c": 0.16511,
"h": 345.2
},
"luminance": 0.09385
}Semantic roles & 50–950 ramp
primary
#982871
secondary
#60BC80
accent
#E27C46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E