#97277B#97277B
#97277B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.172 H 339.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #97277B |
|---|---|
| RGB | rgb(151, 39, 123) |
| HSL | hsl(315, 59%, 37%) |
| HSV | hsv(315, 74%, 59%) |
| CMYK | cmyk(0%, 74.2%, 18.5%, 40.8%) |
| CIE-LAB | lab(36.86, 54.22, -21.91) |
| CIE-LCH | lch(36.86, 58.48, 338.00°) |
| OKLab | oklab(47.85% 0.1616 -0.0592) |
| OKLCH | oklch(47.85% 0.172 339.9) |
| XYZ | xyz(17.0636, 9.4621, 19.6628) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.37
Red Violet
#9E0168
ΔE00 5.01
Barney Purple
#A00498
ΔE00 6.15
Light Eggplant
#894585
ΔE00 6.36
Bruise
#7E4071
ΔE00 6.79
Darkmagenta
#8B008B
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97277B #279743
analogous
#7B2797 #97277B #972743
triadic
#97277B #7B9727 #277B97
tetradic
#97277B #977B27 #279743 #274397
square
#97277B #977B27 #279743 #274397
split-complementary
#97277B #439727 #27977B
monochromatic
#360E2C #661A53 #97277B #C834A3 #D662B9
Accessibility & contrast
On white
7.26
#97277B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#97277B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97277B
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97277B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97277B | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4B7D
Deuteranopia (green-blind)
#535D78
Tritanopia (blue-blind)
#A02B4E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #97277b; /* rgb */ color: rgb(151, 39, 123); /* oklch */ color: oklch(47.8% 0.172 339.9);
Tailwind
colors: {
custom: {
50: '#b96ca1',
500: '#97277b',
950: '#000000',
},
}SCSS
$custom: #97277b; $custom-light: #b96ca1; $custom-dark: #000000;
JSON
{
"hex": "#97277b",
"rgb": {
"r": 151,
"g": 39,
"b": 123
},
"hsl": {
"h": 315,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.47845,
"c": 0.17205,
"h": 339.9
},
"luminance": 0.0946
}Semantic roles & 50–950 ramp
primary
#97277B
secondary
#5EBC75
accent
#E26D46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080F
muted
#817B7E