#97277F#97277F
#97277F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.175 H 338.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #97277F |
|---|---|
| RGB | rgb(151, 39, 127) |
| HSL | hsl(313, 59%, 37%) |
| HSV | hsv(313, 74%, 59%) |
| CMYK | cmyk(0%, 74.2%, 15.9%, 40.8%) |
| CIE-LAB | lab(37.05, 54.81, -24.11) |
| CIE-LCH | lch(37.05, 59.87, 336.26°) |
| OKLab | oklab(48.05% 0.1621 -0.0654) |
| OKLCH | oklch(48.05% 0.175 338) |
| XYZ | xyz(17.3192, 9.5643, 21.0085) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.51
Barney Purple
#A00498
ΔE00 5.34
Red Violet
#9E0168
ΔE00 5.75
Light Eggplant
#894585
ΔE00 6.12
Darkmagenta
#8B008B
ΔE00 6.42
Bruise
#7E4071
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97277F #27973F
analogous
#772797 #97277F #972747
triadic
#97277F #7F9727 #277F97
tetradic
#97277F #977727 #27973F #274797
square
#97277F #977727 #27973F #274797
split-complementary
#97277F #479727 #279777
monochromatic
#360E2D #661A56 #97277F #C834A8 #D662BD
Accessibility & contrast
On white
7.21
#97277F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#97277F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97277F
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97277F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97277F | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#9F2D50
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #97277f; /* rgb */ color: rgb(151, 39, 127); /* oklch */ color: oklch(48.0% 0.175 338.0);
Tailwind
colors: {
custom: {
50: '#b96da4',
500: '#97277f',
950: '#000000',
},
}SCSS
$custom: #97277f; $custom-light: #b96da4; $custom-dark: #000000;
JSON
{
"hex": "#97277f",
"rgb": {
"r": 151,
"g": 39,
"b": 127
},
"hsl": {
"h": 312.857,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.48045,
"c": 0.17481,
"h": 338
},
"luminance": 0.09563
}Semantic roles & 50–950 ramp
primary
#97277F
secondary
#5EBC72
accent
#E26746
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F