#97287F#97287F
#97287F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.174 H 338.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #97287F |
|---|---|
| RGB | rgb(151, 40, 127) |
| HSL | hsl(313, 58%, 37%) |
| HSV | hsv(313, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 15.9%, 40.8%) |
| CIE-LAB | lab(37.17, 54.46, -23.91) |
| CIE-LCH | lch(37.17, 59.48, 336.29°) |
| OKLab | oklab(48.13% 0.1611 -0.0649) |
| OKLCH | oklch(48.13% 0.174 338.1) |
| XYZ | xyz(17.3524, 9.6308, 21.0196) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.51
Barney Purple
#A00498
ΔE00 5.43
Red Violet
#9E0168
ΔE00 5.79
Light Eggplant
#894585
ΔE00 6.00
Darkmagenta
#8B008B
ΔE00 6.55
Bruise
#7E4071
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97287F #289740
analogous
#782897 #97287F #972848
triadic
#97287F #7F9728 #287F97
tetradic
#97287F #977828 #289740 #284897
square
#97287F #977828 #289740 #284897
split-complementary
#97287F #489728 #289778
monochromatic
#360E2E #671B56 #97287F #C735A8 #D664BD
Accessibility & contrast
On white
7.18
#97287F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#97287F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97287F
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97287F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97287F | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4C81
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#9F2E50
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #97287f; /* rgb */ color: rgb(151, 40, 127); /* oklch */ color: oklch(48.1% 0.174 338.1);
Tailwind
colors: {
custom: {
50: '#b96da4',
500: '#97287f',
950: '#000000',
},
}SCSS
$custom: #97287f; $custom-light: #b96da4; $custom-dark: #000000;
JSON
{
"hex": "#97287f",
"rgb": {
"r": 151,
"g": 40,
"b": 127
},
"hsl": {
"h": 312.973,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.48133,
"c": 0.17364,
"h": 338.1
},
"luminance": 0.09629
}Semantic roles & 50–950 ramp
primary
#97287F
secondary
#5FBC73
accent
#E16846
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F