#97287C#97287C
#97287C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.172 H 339.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #97287C |
|---|---|
| RGB | rgb(151, 40, 124) |
| HSL | hsl(315, 58%, 37%) |
| HSV | hsv(315, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 17.9%, 40.8%) |
| CIE-LAB | lab(37.03, 54.02, -22.27) |
| CIE-LCH | lch(37.03, 58.43, 337.60°) |
| OKLab | oklab(47.98% 0.1606 -0.0602) |
| OKLCH | oklch(47.98% 0.172 339.5) |
| XYZ | xyz(17.1598, 9.5538, 20.0052) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.17
Red Violet
#9E0168
ΔE00 5.23
Barney Purple
#A00498
ΔE00 6.03
Light Eggplant
#894585
ΔE00 6.18
Bruise
#7E4071
ΔE00 6.75
Darkmagenta
#8B008B
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97287C #289743
analogous
#7B2897 #97287C #972844
triadic
#97287C #7C9728 #287C97
tetradic
#97287C #977B28 #289743 #284497
square
#97287C #977B28 #289743 #284497
split-complementary
#97287C #449728 #28977B
monochromatic
#360E2D #671B54 #97287C #C735A4 #D664BA
Accessibility & contrast
On white
7.22
#97287C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#97287C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97287C
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97287C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97287C | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#535D79
Tritanopia (blue-blind)
#A02C4F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #97287c; /* rgb */ color: rgb(151, 40, 124); /* oklch */ color: oklch(48.0% 0.172 339.5);
Tailwind
colors: {
custom: {
50: '#b96da2',
500: '#97287c',
950: '#000000',
},
}SCSS
$custom: #97287c; $custom-light: #b96da2; $custom-dark: #000000;
JSON
{
"hex": "#97287c",
"rgb": {
"r": 151,
"g": 40,
"b": 124
},
"hsl": {
"h": 314.595,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.47984,
"c": 0.17156,
"h": 339.5
},
"luminance": 0.09552
}Semantic roles & 50–950 ramp
primary
#97287C
secondary
#5FBC76
accent
#E16C46
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F