#98217C#98217C
#98217C is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.180 H 339.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #98217C |
|---|---|
| RGB | rgb(152, 33, 124) |
| HSL | hsl(314, 64%, 36%) |
| HSV | hsv(314, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 18.4%, 40.4%) |
| CIE-LAB | lab(36.40, 56.55, -23.23) |
| CIE-LCH | lch(36.40, 61.14, 337.67°) |
| OKLab | oklab(47.57% 0.1686 -0.0628) |
| OKLCH | oklch(47.57% 0.18 339.6) |
| XYZ | xyz(17.1313, 9.2201, 19.9423) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.27
Red Violet
#9E0168
ΔE00 4.94
Barney Purple
#A00498
ΔE00 5.58
Darkmagenta
#8B008B
ΔE00 6.44
Light Eggplant
#894585
ΔE00 6.94
Purple
#800080
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98217C #21983D
analogous
#792198 #98217C #982141
triadic
#98217C #7C9821 #217C98
tetradic
#98217C #987921 #21983D #214198
square
#98217C #987921 #21983D #214198
split-complementary
#98217C #419821 #219879
monochromatic
#330B2A #661653 #98217C #CA2CA5 #DB59BC
Accessibility & contrast
On white
7.39
#98217C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#98217C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98217C
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98217C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98217C | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294A7E
Deuteranopia (green-blind)
#515C79
Tritanopia (blue-blind)
#A1264D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98217c; /* rgb */ color: rgb(152, 33, 124); /* oklch */ color: oklch(47.6% 0.180 339.6);
Tailwind
colors: {
custom: {
50: '#ba6aa2',
500: '#98217c',
950: '#000000',
},
}SCSS
$custom: #98217c; $custom-light: #ba6aa2; $custom-dark: #000000;
JSON
{
"hex": "#98217c",
"rgb": {
"r": 152,
"g": 33,
"b": 124
},
"hsl": {
"h": 314.118,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.47566,
"c": 0.17989,
"h": 339.6
},
"luminance": 0.09218
}Semantic roles & 50–950 ramp
primary
#98217C
secondary
#56BF6F
accent
#E76840
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F