#97287E#97287E
#97287E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.173 H 338.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #97287E |
|---|---|
| RGB | rgb(151, 40, 126) |
| HSL | hsl(314, 58%, 37%) |
| HSV | hsv(314, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 16.6%, 40.8%) |
| CIE-LAB | lab(37.12, 54.31, -23.37) |
| CIE-LCH | lch(37.12, 59.12, 336.72°) |
| OKLab | oklab(48.08% 0.1609 -0.0633) |
| OKLCH | oklch(48.08% 0.173 338.5) |
| XYZ | xyz(17.2876, 9.6049, 20.6781) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.73
Red Violet
#9E0168
ΔE00 5.60
Barney Purple
#A00498
ΔE00 5.63
Light Eggplant
#894585
ΔE00 6.05
Darkmagenta
#8B008B
ΔE00 6.70
Bruise
#7E4071
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97287E #289741
analogous
#792897 #97287E #972846
triadic
#97287E #7E9728 #287E97
tetradic
#97287E #977928 #289741 #284697
square
#97287E #977928 #289741 #284697
split-complementary
#97287E #469728 #289779
monochromatic
#360E2D #671B56 #97287E #C735A6 #D664BC
Accessibility & contrast
On white
7.19
#97287E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#97287E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97287E
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97287E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97287E | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#525E7B
Tritanopia (blue-blind)
#A02D50
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #97287e; /* rgb */ color: rgb(151, 40, 126); /* oklch */ color: oklch(48.1% 0.173 338.5);
Tailwind
colors: {
custom: {
50: '#b96da3',
500: '#97287e',
950: '#000000',
},
}SCSS
$custom: #97287e; $custom-light: #b96da3; $custom-dark: #000000;
JSON
{
"hex": "#97287e",
"rgb": {
"r": 151,
"g": 40,
"b": 126
},
"hsl": {
"h": 313.514,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.48083,
"c": 0.17294,
"h": 338.5
},
"luminance": 0.09603
}Semantic roles & 50–950 ramp
primary
#97287E
secondary
#5FBC74
accent
#E16946
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F