#97247E#97247E
#97247E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.177 H 338.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #97247E |
|---|---|
| RGB | rgb(151, 36, 126) |
| HSL | hsl(313, 61%, 37%) |
| HSV | hsv(313, 76%, 59%) |
| CMYK | cmyk(0%, 76.2%, 16.6%, 40.8%) |
| CIE-LAB | lab(36.65, 55.66, -24.11) |
| CIE-LCH | lch(36.65, 60.66, 336.58°) |
| OKLab | oklab(47.74% 0.165 -0.0654) |
| OKLCH | oklch(47.74% 0.177 338.4) |
| XYZ | xyz(17.1597, 9.3491, 20.6354) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.74
Barney Purple
#A00498
ΔE00 5.31
Red Violet
#9E0168
ΔE00 5.49
Darkmagenta
#8B008B
ΔE00 6.24
Light Eggplant
#894585
ΔE00 6.49
Bruise
#7E4071
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97247E #24973D
analogous
#772497 #97247E #972445
triadic
#97247E #7E9724 #247E97
tetradic
#97247E #977724 #24973D #244597
square
#97247E #977724 #24973D #244597
split-complementary
#97247E #459724 #249777
monochromatic
#340C2C #661855 #97247E #C830A7 #D85DBE
Accessibility & contrast
On white
7.32
#97247E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#97247E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97247E
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97247E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97247E | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A02A4E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #97247e; /* rgb */ color: rgb(151, 36, 126); /* oklch */ color: oklch(47.7% 0.177 338.4);
Tailwind
colors: {
custom: {
50: '#b96ba3',
500: '#97247e',
950: '#000000',
},
}SCSS
$custom: #97247e; $custom-light: #b96ba3; $custom-dark: #000000;
JSON
{
"hex": "#97247e",
"rgb": {
"r": 151,
"g": 36,
"b": 126
},
"hsl": {
"h": 313.043,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.47739,
"c": 0.17748,
"h": 338.4
},
"luminance": 0.09347
}Semantic roles & 50–950 ramp
primary
#97247E
secondary
#5ABD6F
accent
#E56643
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F