#972276#972276
#972276 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.174 H 342.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #972276 |
|---|---|
| RGB | rgb(151, 34, 118) |
| HSL | hsl(317, 63%, 36%) |
| HSV | hsv(317, 77%, 59%) |
| CMYK | cmyk(0%, 77.5%, 21.9%, 40.8%) |
| CIE-LAB | lab(36.05, 55.17, -20.04) |
| CIE-LCH | lch(36.05, 58.70, 340.04°) |
| OKLab | oklab(47.18% 0.1658 -0.0538) |
| OKLCH | oklch(47.18% 0.174 342) |
| XYZ | xyz(16.6051, 9.0331, 18.0051) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.92
Warm Purple
#952E8F
ΔE00 5.45
Deep Magenta
#A0025C
ΔE00 6.82
Barney Purple
#A00498
ΔE00 6.85
Bruise
#7E4071
ΔE00 7.09
Dark Fuchsia
#9D0759
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972276 #229743
analogous
#7E2297 #972276 #97223C
triadic
#972276 #769722 #227697
tetradic
#972276 #977E22 #229743 #223C97
square
#972276 #977E22 #229743 #223C97
split-complementary
#972276 #3C9722 #22977E
monochromatic
#330C28 #65174F #972276 #C92D9D #DA5AB6
Accessibility & contrast
On white
7.48
#972276 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#972276 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972276
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972276 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4978
Deuteranopia (green-blind)
#535C73
Tritanopia (blue-blind)
#A1244A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #972276; /* rgb */ color: rgb(151, 34, 118); /* oklch */ color: oklch(47.2% 0.174 342.0);
Tailwind
colors: {
custom: {
50: '#b96a9d',
500: '#972276',
950: '#000000',
},
}SCSS
$custom: #972276; $custom-light: #b96a9d; $custom-dark: #000000;
JSON
{
"hex": "#972276",
"rgb": {
"r": 151,
"g": 34,
"b": 118
},
"hsl": {
"h": 316.923,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.47183,
"c": 0.17433,
"h": 342
},
"luminance": 0.09031
}Semantic roles & 50–950 ramp
primary
#972276
secondary
#57BE74
accent
#E67042
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E