#98287F#98287F
#98287F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.174 H 338.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #98287F |
|---|---|
| RGB | rgb(152, 40, 127) |
| HSL | hsl(313, 58%, 38%) |
| HSV | hsv(313, 74%, 60%) |
| CMYK | cmyk(0%, 73.7%, 16.4%, 40.4%) |
| CIE-LAB | lab(37.35, 54.71, -23.63) |
| CIE-LCH | lch(37.35, 59.59, 336.64°) |
| OKLab | oklab(48.29% 0.1621 -0.064) |
| OKLCH | oklch(48.29% 0.174 338.4) |
| XYZ | xyz(17.5388, 9.7269, 21.0284) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.61
Barney Purple
#A00498
ΔE00 5.50
Red Violet
#9E0168
ΔE00 5.69
Light Eggplant
#894585
ΔE00 6.05
Darkmagenta
#8B008B
ΔE00 6.72
Bruise
#7E4071
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98287F #289841
analogous
#792898 #98287F #982847
triadic
#98287F #7F9828 #287F98
tetradic
#98287F #987928 #289841 #284798
square
#98287F #987928 #289841 #284798
split-complementary
#98287F #479828 #289879
monochromatic
#370F2E #681B57 #98287F #C835A7 #D664BD
Accessibility & contrast
On white
7.13
#98287F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#98287F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98287F
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98287F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98287F | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4D81
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#A12D50
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #98287f; /* rgb */ color: rgb(152, 40, 127); /* oklch */ color: oklch(48.3% 0.174 338.4);
Tailwind
colors: {
custom: {
50: '#ba6da4',
500: '#98287f',
950: '#000000',
},
}SCSS
$custom: #98287f; $custom-light: #ba6da4; $custom-dark: #000000;
JSON
{
"hex": "#98287f",
"rgb": {
"r": 152,
"g": 40,
"b": 127
},
"hsl": {
"h": 313.393,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.48294,
"c": 0.17427,
"h": 338.4
},
"luminance": 0.09725
}Semantic roles & 50–950 ramp
primary
#98287F
secondary
#60BC74
accent
#E26946
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F