#97277E#97277E
#97277E is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.174 H 338.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #97277E |
|---|---|
| RGB | rgb(151, 39, 126) |
| HSL | hsl(313, 59%, 37%) |
| HSV | hsv(313, 74%, 59%) |
| CMYK | cmyk(0%, 74.2%, 16.6%, 40.8%) |
| CIE-LAB | lab(37.00, 54.66, -23.56) |
| CIE-LCH | lch(37.00, 59.52, 336.68°) |
| OKLab | oklab(47.99% 0.162 -0.0638) |
| OKLCH | oklch(47.99% 0.174 338.5) |
| XYZ | xyz(17.2543, 9.5383, 20.6670) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.72
Barney Purple
#A00498
ΔE00 5.54
Red Violet
#9E0168
ΔE00 5.57
Light Eggplant
#894585
ΔE00 6.17
Darkmagenta
#8B008B
ΔE00 6.58
Bruise
#7E4071
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97277E #279740
analogous
#782797 #97277E #972746
triadic
#97277E #7E9727 #277E97
tetradic
#97277E #977827 #279740 #274697
square
#97277E #977827 #279740 #274697
split-complementary
#97277E #469727 #279778
monochromatic
#360E2D #661A55 #97277E #C834A7 #D662BC
Accessibility & contrast
On white
7.22
#97277E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#97277E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97277E
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97277E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97277E | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#525D7B
Tritanopia (blue-blind)
#A02C4F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #97277e; /* rgb */ color: rgb(151, 39, 126); /* oklch */ color: oklch(48.0% 0.174 338.5);
Tailwind
colors: {
custom: {
50: '#b96ca3',
500: '#97277e',
950: '#000000',
},
}SCSS
$custom: #97277e; $custom-light: #b96ca3; $custom-dark: #000000;
JSON
{
"hex": "#97277e",
"rgb": {
"r": 151,
"g": 39,
"b": 126
},
"hsl": {
"h": 313.393,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.47994,
"c": 0.17412,
"h": 338.5
},
"luminance": 0.09537
}Semantic roles & 50–950 ramp
primary
#97277E
secondary
#5EBC73
accent
#E26946
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F