#98207E#98207E
#98207E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.182 H 338.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #98207E |
|---|---|
| RGB | rgb(152, 32, 126) |
| HSL | hsl(313, 65%, 36%) |
| HSV | hsv(313, 79%, 60%) |
| CMYK | cmyk(0%, 78.9%, 17.1%, 40.4%) |
| CIE-LAB | lab(36.40, 57.13, -24.49) |
| CIE-LCH | lch(36.40, 62.16, 336.80°) |
| OKLab | oklab(47.59% 0.1697 -0.0664) |
| OKLCH | oklch(47.59% 0.182 338.6) |
| XYZ | xyz(17.2317, 9.2165, 20.6061) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.89
Barney Purple
#A00498
ΔE00 5.12
Red Violet
#9E0168
ΔE00 5.32
Darkmagenta
#8B008B
ΔE00 6.02
Light Eggplant
#894585
ΔE00 6.93
Purple
#800080
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98207E #20983A
analogous
#762098 #98207E #982042
triadic
#98207E #7E9820 #207E98
tetradic
#98207E #987620 #20983A #204298
square
#98207E #987620 #20983A #204298
split-complementary
#98207E #429820 #209876
monochromatic
#330B2A #651554 #98207E #CB2BA8 #DC57BF
Accessibility & contrast
On white
7.39
#98207E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#98207E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98207E
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98207E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98207E | 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)
#274A80
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#A1264D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98207e; /* rgb */ color: rgb(152, 32, 126); /* oklch */ color: oklch(47.6% 0.182 338.6);
Tailwind
colors: {
custom: {
50: '#ba6aa3',
500: '#98207e',
950: '#000000',
},
}SCSS
$custom: #98207e; $custom-light: #ba6aa3; $custom-dark: #000000;
JSON
{
"hex": "#98207e",
"rgb": {
"r": 152,
"g": 32,
"b": 126
},
"hsl": {
"h": 313,
"s": 65.217,
"l": 36.078
},
"oklch": {
"l": 0.47593,
"c": 0.18223,
"h": 338.6
},
"luminance": 0.09215
}Semantic roles & 50–950 ramp
primary
#98207E
secondary
#54BF6C
accent
#E86440
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F