#982571#982571
#982571 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.169 H 345.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #982571 |
|---|---|
| RGB | rgb(152, 37, 113) |
| HSL | hsl(320, 61%, 37%) |
| HSV | hsv(320, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 25.7%, 40.4%) |
| CIE-LAB | lab(36.35, 53.78, -16.41) |
| CIE-LCH | lch(36.35, 56.23, 343.03°) |
| OKLab | oklab(47.37% 0.1629 -0.0437) |
| OKLCH | oklch(47.37% 0.169 345) |
| XYZ | xyz(16.5918, 9.1926, 16.5202) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.18
Deep Magenta
#A0025C
ΔE00 5.64
Dark Fuchsia
#9D0759
ΔE00 6.04
Dark Magenta
#960056
ΔE00 6.23
Warm Purple
#952E8F
ΔE00 6.72
Bruise
#7E4071
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982571 #25984C
analogous
#862598 #982571 #982537
triadic
#982571 #719825 #257198
tetradic
#982571 #988625 #25984C #253798
square
#982571 #988625 #25984C #253798
split-complementary
#982571 #379825 #259886
monochromatic
#360D28 #67194C #982571 #C93196 #D85FAF
Accessibility & contrast
On white
7.40
#982571 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#982571 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982571
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982571 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#565C6E
Tritanopia (blue-blind)
#A22348
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #982571; /* rgb */ color: rgb(152, 37, 113); /* oklch */ color: oklch(47.4% 0.169 345.0);
Tailwind
colors: {
custom: {
50: '#ba6b9a',
500: '#982571',
950: '#000000',
},
}SCSS
$custom: #982571; $custom-light: #ba6b9a; $custom-dark: #000000;
JSON
{
"hex": "#982571",
"rgb": {
"r": 152,
"g": 37,
"b": 113
},
"hsl": {
"h": 320.348,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.47366,
"c": 0.1686,
"h": 345
},
"luminance": 0.09191
}Semantic roles & 50–950 ramp
primary
#982571
secondary
#5CBD7D
accent
#E47A44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E