#98217F#98217F
#98217F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.182 H 338.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #98217F |
|---|---|
| RGB | rgb(152, 33, 127) |
| HSL | hsl(313, 64%, 36%) |
| HSV | hsv(313, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 16.4%, 40.4%) |
| CIE-LAB | lab(36.55, 56.98, -24.87) |
| CIE-LCH | lch(36.55, 62.17, 336.42°) |
| OKLab | oklab(47.72% 0.1689 -0.0675) |
| OKLCH | oklch(47.72% 0.182 338.2) |
| XYZ | xyz(17.3239, 9.2971, 20.9567) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.67
Barney Purple
#A00498
ΔE00 4.97
Red Violet
#9E0168
ΔE00 5.53
Darkmagenta
#8B008B
ΔE00 5.96
Light Eggplant
#894585
ΔE00 6.79
Purple
#800080
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98217F #21983A
analogous
#762198 #98217F #982144
triadic
#98217F #7F9821 #217F98
tetradic
#98217F #987621 #21983A #214498
square
#98217F #987621 #21983A #214498
split-complementary
#98217F #449821 #219876
monochromatic
#330B2B #661655 #98217F #CA2CA9 #DB59BF
Accessibility & contrast
On white
7.35
#98217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#98217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98217F
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98217F | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274A81
Deuteranopia (green-blind)
#505C7C
Tritanopia (blue-blind)
#A1284E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98217f; /* rgb */ color: rgb(152, 33, 127); /* oklch */ color: oklch(47.7% 0.182 338.2);
Tailwind
colors: {
custom: {
50: '#ba6aa4',
500: '#98217f',
950: '#000000',
},
}SCSS
$custom: #98217f; $custom-light: #ba6aa4; $custom-dark: #000000;
JSON
{
"hex": "#98217f",
"rgb": {
"r": 152,
"g": 33,
"b": 127
},
"hsl": {
"h": 312.605,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.47718,
"c": 0.18191,
"h": 338.2
},
"luminance": 0.09295
}Semantic roles & 50–950 ramp
primary
#98217F
secondary
#56BF6C
accent
#E76440
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F