#97247F#97247F
#97247F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.178 H 337.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #97247F |
|---|---|
| RGB | rgb(151, 36, 127) |
| HSL | hsl(313, 61%, 37%) |
| HSV | hsv(313, 76%, 59%) |
| CMYK | cmyk(0%, 76.2%, 15.9%, 40.8%) |
| CIE-LAB | lab(36.70, 55.81, -24.66) |
| CIE-LCH | lch(36.70, 61.01, 336.16°) |
| OKLab | oklab(47.79% 0.1651 -0.0669) |
| OKLCH | oklch(47.79% 0.178 337.9) |
| XYZ | xyz(17.2245, 9.3750, 20.9770) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.53
Barney Purple
#A00498
ΔE00 5.11
Red Violet
#9E0168
ΔE00 5.68
Darkmagenta
#8B008B
ΔE00 6.08
Light Eggplant
#894585
ΔE00 6.45
Purple
#800080
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97247F #24973C
analogous
#762497 #97247F #972446
triadic
#97247F #7F9724 #247F97
tetradic
#97247F #977624 #24973C #244697
square
#97247F #977624 #24973C #244697
split-complementary
#97247F #469724 #249776
monochromatic
#340C2C #661855 #97247F #C830A9 #D85DBF
Accessibility & contrast
On white
7.31
#97247F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#97247F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97247F
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97247F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97247F | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#505D7C
Tritanopia (blue-blind)
#A02A4F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #97247f; /* rgb */ color: rgb(151, 36, 127); /* oklch */ color: oklch(47.8% 0.178 337.9);
Tailwind
colors: {
custom: {
50: '#b96ba4',
500: '#97247f',
950: '#000000',
},
}SCSS
$custom: #97247f; $custom-light: #b96ba4; $custom-dark: #000000;
JSON
{
"hex": "#97247f",
"rgb": {
"r": 151,
"g": 36,
"b": 127
},
"hsl": {
"h": 312.522,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.4779,
"c": 0.17818,
"h": 337.9
},
"luminance": 0.09373
}Semantic roles & 50–950 ramp
primary
#97247F
secondary
#5ABD6E
accent
#E56543
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F