#97247C#97247C
#97247C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.176 H 339.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #97247C |
|---|---|
| RGB | rgb(151, 36, 124) |
| HSL | hsl(314, 61%, 37%) |
| HSV | hsv(314, 76%, 59%) |
| CMYK | cmyk(0%, 76.2%, 17.9%, 40.8%) |
| CIE-LAB | lab(36.55, 55.37, -23.01) |
| CIE-LCH | lch(36.55, 59.96, 337.43°) |
| OKLab | oklab(47.64% 0.1648 -0.0623) |
| OKLCH | oklch(47.64% 0.176 339.3) |
| XYZ | xyz(17.0319, 9.2980, 19.9626) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.15
Red Violet
#9E0168
ΔE00 5.10
Barney Purple
#A00498
ΔE00 5.71
Darkmagenta
#8B008B
ΔE00 6.56
Light Eggplant
#894585
ΔE00 6.60
Bruise
#7E4071
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97247C #24973F
analogous
#792497 #97247C #972443
triadic
#97247C #7C9724 #247C97
tetradic
#97247C #977924 #24973F #244397
square
#97247C #977924 #24973F #244397
split-complementary
#97247C #439724 #249779
monochromatic
#340C2B #661853 #97247C #C830A5 #D85DBB
Accessibility & contrast
On white
7.34
#97247C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#97247C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97247C
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97247C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97247C | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4A7E
Deuteranopia (green-blind)
#515C79
Tritanopia (blue-blind)
#A0294D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #97247c; /* rgb */ color: rgb(151, 36, 124); /* oklch */ color: oklch(47.6% 0.176 339.3);
Tailwind
colors: {
custom: {
50: '#b96ba2',
500: '#97247c',
950: '#000000',
},
}SCSS
$custom: #97247c; $custom-light: #b96ba2; $custom-dark: #000000;
JSON
{
"hex": "#97247c",
"rgb": {
"r": 151,
"g": 36,
"b": 124
},
"hsl": {
"h": 314.087,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.47638,
"c": 0.17613,
"h": 339.3
},
"luminance": 0.09296
}Semantic roles & 50–950 ramp
primary
#97247C
secondary
#5ABD71
accent
#E56943
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F