#97247D#97247D
#97247D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.177 H 338.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #97247D |
|---|---|
| RGB | rgb(151, 36, 125) |
| HSL | hsl(314, 61%, 37%) |
| HSV | hsv(314, 76%, 59%) |
| CMYK | cmyk(0%, 76.2%, 17.2%, 40.8%) |
| CIE-LAB | lab(36.60, 55.52, -23.56) |
| CIE-LCH | lch(36.60, 60.31, 337.00°) |
| OKLab | oklab(47.69% 0.1649 -0.0638) |
| OKLCH | oklch(47.69% 0.177 338.8) |
| XYZ | xyz(17.0955, 9.3234, 20.2973) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.94
Red Violet
#9E0168
ΔE00 5.30
Barney Purple
#A00498
ΔE00 5.51
Darkmagenta
#8B008B
ΔE00 6.40
Light Eggplant
#894585
ΔE00 6.54
Bruise
#7E4071
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97247D #24973E
analogous
#782497 #97247D #972444
triadic
#97247D #7D9724 #247D97
tetradic
#97247D #977824 #24973E #244497
square
#97247D #977824 #24973E #244497
split-complementary
#97247D #449724 #249778
monochromatic
#340C2B #661854 #97247D #C830A6 #D85DBC
Accessibility & contrast
On white
7.33
#97247D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#97247D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97247D
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97247D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97247D | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#515D7A
Tritanopia (blue-blind)
#A0294E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #97247d; /* rgb */ color: rgb(151, 36, 125); /* oklch */ color: oklch(47.7% 0.177 338.8);
Tailwind
colors: {
custom: {
50: '#b96ba3',
500: '#97247d',
950: '#000000',
},
}SCSS
$custom: #97247d; $custom-light: #b96ba3; $custom-dark: #000000;
JSON
{
"hex": "#97247d",
"rgb": {
"r": 151,
"g": 36,
"b": 125
},
"hsl": {
"h": 313.565,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.47689,
"c": 0.1768,
"h": 338.8
},
"luminance": 0.09322
}Semantic roles & 50–950 ramp
primary
#97247D
secondary
#5ABD70
accent
#E56843
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F