#97407E#97407E
#97407E is a mid, vivid pink. Relative luminance 0.118; OKLCH L 50.8% C 0.139 H 340.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #97407E |
|---|---|
| RGB | rgb(151, 64, 126) |
| HSL | hsl(317, 40%, 42%) |
| HSV | hsv(317, 58%, 59%) |
| CMYK | cmyk(0%, 57.6%, 16.6%, 40.8%) |
| CIE-LAB | lab(40.82, 44.12, -17.65) |
| CIE-LCH | lch(40.82, 47.52, 338.20°) |
| OKLab | oklab(50.79% 0.1304 -0.0474) |
| OKLCH | oklch(50.79% 0.139 340) |
| XYZ | xyz(18.3621, 11.7539, 21.0363) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 4.10
Bruise
#7E4071
ΔE00 5.27
Purpleish
#98568D
ΔE00 5.90
Purplish
#94568C
ΔE00 5.95
Warm Purple
#952E8F
ΔE00 6.25
Light Plum
#9D5783
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97407E #409759
analogous
#844097 #97407E #974053
triadic
#97407E #7E9740 #407E97
tetradic
#97407E #978440 #409759 #405397
square
#97407E #978440 #409759 #405397
split-complementary
#97407E #539740 #409784
monochromatic
#411C36 #6C2E5A #97407E #B95B9E #CC86B8
Accessibility & contrast
On white
6.27
#97407E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#97407E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #97407E
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97407E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97407E | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445880
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#9F4259
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #97407e; /* rgb */ color: rgb(151, 64, 126); /* oklch */ color: oklch(50.8% 0.139 340.0);
Tailwind
colors: {
custom: {
50: '#b879a3',
500: '#97407e',
950: '#000000',
},
}SCSS
$custom: #97407e; $custom-light: #b879a3; $custom-dark: #000000;
JSON
{
"hex": "#97407e",
"rgb": {
"r": 151,
"g": 64,
"b": 126
},
"hsl": {
"h": 317.241,
"s": 40.465,
"l": 42.157
},
"oklch": {
"l": 0.5079,
"c": 0.13876,
"h": 340
},
"luminance": 0.11752
}Semantic roles & 50–950 ramp
primary
#97407E
secondary
#7DB68D
accent
#D07A57
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#12090F
muted
#817B7F