#972277#972277
#972277 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.175 H 341.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #972277 |
|---|---|
| RGB | rgb(151, 34, 119) |
| HSL | hsl(316, 63%, 36%) |
| HSV | hsv(316, 77%, 59%) |
| CMYK | cmyk(0%, 77.5%, 21.2%, 40.8%) |
| CIE-LAB | lab(36.09, 55.31, -20.59) |
| CIE-LCH | lch(36.09, 59.02, 339.58°) |
| OKLab | oklab(47.23% 0.166 -0.0554) |
| OKLCH | oklch(47.23% 0.175 341.5) |
| XYZ | xyz(16.6649, 9.0570, 18.3197) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.10
Warm Purple
#952E8F
ΔE00 5.23
Barney Purple
#A00498
ΔE00 6.63
Deep Magenta
#A0025C
ΔE00 7.03
Bruise
#7E4071
ΔE00 7.11
Light Eggplant
#894585
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972277 #229742
analogous
#7D2297 #972277 #97223D
triadic
#972277 #779722 #227797
tetradic
#972277 #977D22 #229742 #223D97
square
#972277 #977D22 #229742 #223D97
split-complementary
#972277 #3D9722 #22977D
monochromatic
#330C28 #651750 #972277 #C92D9E #DA5AB7
Accessibility & contrast
On white
7.47
#972277 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#972277 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972277
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972277 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972277 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4979
Deuteranopia (green-blind)
#525C74
Tritanopia (blue-blind)
#A1244A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #972277; /* rgb */ color: rgb(151, 34, 119); /* oklch */ color: oklch(47.2% 0.175 341.5);
Tailwind
colors: {
custom: {
50: '#b96a9e',
500: '#972277',
950: '#000000',
},
}SCSS
$custom: #972277; $custom-light: #b96a9e; $custom-dark: #000000;
JSON
{
"hex": "#972277",
"rgb": {
"r": 151,
"g": 34,
"b": 119
},
"hsl": {
"h": 316.41,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.47231,
"c": 0.17497,
"h": 341.5
},
"luminance": 0.09055
}Semantic roles & 50–950 ramp
primary
#972277
secondary
#57BE73
accent
#E66F42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E