#983871#983871
#983871 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.4% C 0.143 H 347.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #983871 |
|---|---|
| RGB | rgb(152, 56, 113) |
| HSL | hsl(324, 46%, 41%) |
| HSV | hsv(324, 63%, 60%) |
| CMYK | cmyk(0%, 63.2%, 25.7%, 40.4%) |
| CIE-LAB | lab(39.07, 46.25, -12.27) |
| CIE-LCH | lch(39.07, 47.85, 345.15°) |
| OKLab | oklab(49.35% 0.1397 -0.0323) |
| OKLCH | oklch(49.35% 0.143 347) |
| XYZ | xyz(17.3443, 10.6977, 16.7710) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.85
Bruise
#7E4071
ΔE00 5.94
Deep Magenta
#A0025C
ΔE00 6.79
Light Eggplant
#894585
ΔE00 6.84
Dark Fuchsia
#9D0759
ΔE00 7.03
Dark Magenta
#960056
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983871 #38985F
analogous
#8F3898 #983871 #983841
triadic
#983871 #719838 #387198
tetradic
#983871 #988F38 #38985F #384198
square
#983871 #988F38 #38985F #384198
split-complementary
#983871 #419838 #38988F
monochromatic
#3F172F #6B2850 #983871 #BE4F91 #CF7CAD
Accessibility & contrast
On white
6.69
#983871 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#983871 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983871
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983871 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#5E626F
Tritanopia (blue-blind)
#A2364F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #983871; /* rgb */ color: rgb(152, 56, 113); /* oklch */ color: oklch(49.4% 0.143 347.0);
Tailwind
colors: {
custom: {
50: '#b97499',
500: '#983871',
950: '#000000',
},
}SCSS
$custom: #983871; $custom-light: #b97499; $custom-dark: #000000;
JSON
{
"hex": "#983871",
"rgb": {
"r": 152,
"g": 56,
"b": 113
},
"hsl": {
"h": 324.375,
"s": 46.154,
"l": 40.784
},
"oklch": {
"l": 0.49354,
"c": 0.14335,
"h": 347
},
"luminance": 0.10696
}Semantic roles & 50–950 ramp
primary
#983871
secondary
#74B890
accent
#D68852
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12090E
muted
#817B7E