#97477F#97477F
#97477F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 51.8% C 0.128 H 340.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #97477F |
|---|---|
| RGB | rgb(151, 71, 127) |
| HSL | hsl(318, 36%, 44%) |
| HSV | hsv(318, 53%, 59%) |
| CMYK | cmyk(0%, 53%, 15.9%, 40.8%) |
| CIE-LAB | lab(42.18, 40.77, -16.18) |
| CIE-LCH | lch(42.18, 43.86, 338.36°) |
| OKLab | oklab(51.81% 0.1202 -0.0433) |
| OKLCH | oklch(51.81% 0.128 340.2) |
| XYZ | xyz(18.8468, 12.6195, 21.5177) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 4.40
Purpleish
#98568D
ΔE00 4.51
Purplish
#94568C
ΔE00 4.59
Light Plum
#9D5783
ΔE00 4.83
Bruise
#7E4071
ΔE00 5.63
Dull Purple
#84597E
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97477F #47975F
analogous
#874797 #97477F #974757
triadic
#97477F #7F9747 #477F97
tetradic
#97477F #978747 #47975F #475797
square
#97477F #978747 #47975F #475797
split-complementary
#97477F #579747 #479787
monochromatic
#442039 #6D335C #97477F #B6659E #CA8EB8
Accessibility & contrast
On white
5.96
#97477F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#97477F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #97477F
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97477F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97477F | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5C81
Deuteranopia (green-blind)
#61687D
Tritanopia (blue-blind)
#9F485D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #97477f; /* rgb */ color: rgb(151, 71, 127); /* oklch */ color: oklch(51.8% 0.128 340.2);
Tailwind
colors: {
custom: {
50: '#b87da4',
500: '#97477f',
950: '#000000',
},
}SCSS
$custom: #97477f; $custom-light: #b87da4; $custom-dark: #000000;
JSON
{
"hex": "#97477f",
"rgb": {
"r": 151,
"g": 71,
"b": 127
},
"hsl": {
"h": 318,
"s": 36.036,
"l": 43.529
},
"oklch": {
"l": 0.51814,
"c": 0.12779,
"h": 340.2
},
"luminance": 0.12618
}Semantic roles & 50–950 ramp
primary
#97477F
secondary
#84B693
accent
#CC7D5C
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A0F
muted
#817C7F