#98217E#98217E
#98217E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.181 H 338.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #98217E |
|---|---|
| RGB | rgb(152, 33, 126) |
| HSL | hsl(313, 64%, 36%) |
| HSV | hsv(313, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 17.1%, 40.4%) |
| CIE-LAB | lab(36.50, 56.84, -24.32) |
| CIE-LCH | lch(36.50, 61.82, 336.83°) |
| OKLab | oklab(47.67% 0.1688 -0.066) |
| OKLCH | oklch(47.67% 0.181 338.7) |
| XYZ | xyz(17.2591, 9.2712, 20.6152) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.87
Barney Purple
#A00498
ΔE00 5.17
Red Violet
#9E0168
ΔE00 5.33
Darkmagenta
#8B008B
ΔE00 6.11
Light Eggplant
#894585
ΔE00 6.83
Purple
#800080
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98217E #21983B
analogous
#772198 #98217E #982143
triadic
#98217E #7E9821 #217E98
tetradic
#98217E #987721 #21983B #214398
square
#98217E #987721 #21983B #214398
split-complementary
#98217E #439821 #219877
monochromatic
#330B2B #661654 #98217E #CA2CA8 #DB59BE
Accessibility & contrast
On white
7.36
#98217E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#98217E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98217E
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98217E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98217E | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#A1274E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98217e; /* rgb */ color: rgb(152, 33, 126); /* oklch */ color: oklch(47.7% 0.181 338.7);
Tailwind
colors: {
custom: {
50: '#ba6aa3',
500: '#98217e',
950: '#000000',
},
}SCSS
$custom: #98217e; $custom-light: #ba6aa3; $custom-dark: #000000;
JSON
{
"hex": "#98217e",
"rgb": {
"r": 152,
"g": 33,
"b": 126
},
"hsl": {
"h": 313.109,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.47667,
"c": 0.18124,
"h": 338.7
},
"luminance": 0.09269
}Semantic roles & 50–950 ramp
primary
#98217E
secondary
#56BF6D
accent
#E76540
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F