#984871#984871
#984871 is a mid, moderate pink. Relative luminance 0.125; OKLCH L 51.5% C 0.118 H 350.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #984871 |
|---|---|
| RGB | rgb(152, 72, 113) |
| HSL | hsl(329, 36%, 44%) |
| HSV | hsv(329, 53%, 60%) |
| CMYK | cmyk(0%, 52.6%, 25.7%, 40.4%) |
| CIE-LAB | lab(42.01, 38.42, -7.84) |
| CIE-LCH | lch(42.01, 39.21, 348.47°) |
| OKLab | oklab(51.54% 0.1158 -0.0204) |
| OKLCH | oklch(51.54% 0.118 350) |
| XYZ | xyz(18.2475, 12.5040, 17.0720) |
| Luminance | 0.1250 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.05
Dark Mauve
#874C62
ΔE00 5.52
Dusky Purple
#895B7B
ΔE00 6.96
Bruise
#7E4071
ΔE00 7.12
Purpleish
#98568D
ΔE00 7.15
Purplish
#94568C
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984871 #48986F
analogous
#974898 #984871 #984849
triadic
#984871 #719848 #487198
tetradic
#984871 #989748 #48986F #484998
square
#984871 #989748 #48986F #484998
split-complementary
#984871 #499848 #489897
monochromatic
#452133 #6E3452 #984871 #B76690 #CA90AE
Accessibility & contrast
On white
6.00
#984871 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#984871 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984871
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984871 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515A72
Deuteranopia (green-blind)
#66686F
Tritanopia (blue-blind)
#A24558
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #984871; /* rgb */ color: rgb(152, 72, 113); /* oklch */ color: oklch(51.5% 0.118 350.0);
Tailwind
colors: {
custom: {
50: '#b97e99',
500: '#984871',
950: '#000000',
},
}SCSS
$custom: #984871; $custom-light: #b97e99; $custom-dark: #000000;
JSON
{
"hex": "#984871",
"rgb": {
"r": 152,
"g": 72,
"b": 113
},
"hsl": {
"h": 329.25,
"s": 35.714,
"l": 43.922
},
"oklch": {
"l": 0.51539,
"c": 0.11753,
"h": 350
},
"luminance": 0.12502
}Semantic roles & 50–950 ramp
primary
#984871
secondary
#86B69D
accent
#CC935C
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E