#97247B#97247B
#97247B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.175 H 339.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #97247B |
|---|---|
| RGB | rgb(151, 36, 123) |
| HSL | hsl(315, 61%, 37%) |
| HSV | hsv(315, 76%, 59%) |
| CMYK | cmyk(0%, 76.2%, 18.5%, 40.8%) |
| CIE-LAB | lab(36.50, 55.23, -22.46) |
| CIE-LCH | lch(36.50, 59.62, 337.87°) |
| OKLab | oklab(47.59% 0.1646 -0.0607) |
| OKLCH | oklch(47.59% 0.175 339.8) |
| XYZ | xyz(16.9690, 9.2728, 19.6312) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.36
Red Violet
#9E0168
ΔE00 4.91
Barney Purple
#A00498
ΔE00 5.92
Light Eggplant
#894585
ΔE00 6.67
Darkmagenta
#8B008B
ΔE00 6.73
Bruise
#7E4071
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97247B #249740
analogous
#7A2497 #97247B #972442
triadic
#97247B #7B9724 #247B97
tetradic
#97247B #977A24 #249740 #244297
square
#97247B #977A24 #249740 #244297
split-complementary
#97247B #429724 #24977A
monochromatic
#340C2A #661853 #97247B #C830A3 #D85DBA
Accessibility & contrast
On white
7.36
#97247B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#97247B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97247B
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97247B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97247B | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4A7D
Deuteranopia (green-blind)
#525C78
Tritanopia (blue-blind)
#A0284D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #97247b; /* rgb */ color: rgb(151, 36, 123); /* oklch */ color: oklch(47.6% 0.175 339.8);
Tailwind
colors: {
custom: {
50: '#b96ba1',
500: '#97247b',
950: '#000000',
},
}SCSS
$custom: #97247b; $custom-light: #b96ba1; $custom-dark: #000000;
JSON
{
"hex": "#97247b",
"rgb": {
"r": 151,
"g": 36,
"b": 123
},
"hsl": {
"h": 314.609,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.47589,
"c": 0.17545,
"h": 339.8
},
"luminance": 0.09271
}Semantic roles & 50–950 ramp
primary
#97247B
secondary
#5ABD72
accent
#E56A43
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E