#98287C#98287C
#98287C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.172 H 339.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #98287C |
|---|---|
| RGB | rgb(152, 40, 124) |
| HSL | hsl(315, 58%, 38%) |
| HSV | hsv(315, 74%, 60%) |
| CMYK | cmyk(0%, 73.7%, 18.4%, 40.4%) |
| CIE-LAB | lab(37.21, 54.27, -21.98) |
| CIE-LCH | lch(37.21, 58.56, 337.95°) |
| OKLab | oklab(48.15% 0.1617 -0.0594) |
| OKLCH | oklch(48.15% 0.172 339.8) |
| XYZ | xyz(17.3462, 9.6499, 20.0139) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.27
Red Violet
#9E0168
ΔE00 5.14
Barney Purple
#A00498
ΔE00 6.10
Light Eggplant
#894585
ΔE00 6.24
Bruise
#7E4071
ΔE00 6.82
Darkmagenta
#8B008B
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98287C #289844
analogous
#7C2898 #98287C #982844
triadic
#98287C #7C9828 #287C98
tetradic
#98287C #987C28 #289844 #284498
square
#98287C #987C28 #289844 #284498
split-complementary
#98287C #449828 #28987C
monochromatic
#370F2D #681B54 #98287C #C835A4 #D664BA
Accessibility & contrast
On white
7.17
#98287C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#98287C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98287C
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98287C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98287C | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#A12C4F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #98287c; /* rgb */ color: rgb(152, 40, 124); /* oklch */ color: oklch(48.1% 0.172 339.8);
Tailwind
colors: {
custom: {
50: '#ba6da2',
500: '#98287c',
950: '#000000',
},
}SCSS
$custom: #98287c; $custom-light: #ba6da2; $custom-dark: #000000;
JSON
{
"hex": "#98287c",
"rgb": {
"r": 152,
"g": 40,
"b": 124
},
"hsl": {
"h": 315,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.48146,
"c": 0.17221,
"h": 339.8
},
"luminance": 0.09648
}Semantic roles & 50–950 ramp
primary
#98287C
secondary
#60BC77
accent
#E26D46
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F