#972866#972866
#972866 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.158 H 350.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #972866 |
|---|---|
| RGB | rgb(151, 40, 102) |
| HSL | hsl(326, 58%, 37%) |
| HSV | hsv(326, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 32.5%, 40.8%) |
| CIE-LAB | lab(36.10, 51.07, -9.85) |
| CIE-LCH | lch(36.10, 52.01, 349.08°) |
| OKLab | oklab(47% 0.156 -0.0256) |
| OKLCH | oklch(47% 0.158 350.7) |
| XYZ | xyz(15.9204, 9.0580, 13.4778) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.34
Deep Magenta
#A0025C
ΔE00 3.78
Dark Fuchsia
#9D0759
ΔE00 3.96
Dark Magenta
#960056
ΔE00 4.42
Reddish Purple
#910951
ΔE00 5.08
Mulberry
#920A4E
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972866 #289759
analogous
#902897 #972866 #97282F
triadic
#972866 #669728 #286697
tetradic
#972866 #979028 #289759 #282F97
square
#972866 #979028 #289759 #282F97
split-complementary
#972866 #2F9728 #289790
monochromatic
#360E25 #671B45 #972866 #C73587 #D664A3
Accessibility & contrast
On white
7.47
#972866 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#972866 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972866
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972866 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972866 | 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)
#3A4868
Deuteranopia (green-blind)
#5A5C63
Tritanopia (blue-blind)
#A22143
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #972866; /* rgb */ color: rgb(151, 40, 102); /* oklch */ color: oklch(47.0% 0.158 350.7);
Tailwind
colors: {
custom: {
50: '#ba6c91',
500: '#972866',
950: '#000000',
},
}SCSS
$custom: #972866; $custom-light: #ba6c91; $custom-dark: #000000;
JSON
{
"hex": "#972866",
"rgb": {
"r": 151,
"g": 40,
"b": 102
},
"hsl": {
"h": 326.486,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.46999,
"c": 0.15813,
"h": 350.7
},
"luminance": 0.09056
}Semantic roles & 50–950 ramp
primary
#972866
secondary
#5FBC88
accent
#E18B46
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D