#972855#972855
#972855 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.4% C 0.151 H 0.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #972855 |
|---|---|
| RGB | rgb(151, 40, 85) |
| HSL | hsl(336, 58%, 37%) |
| HSV | hsv(336, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 43.7%, 40.8%) |
| CIE-LAB | lab(35.51, 49.16, 0.15) |
| CIE-LCH | lch(35.51, 49.16, 0.18°) |
| OKLab | oklab(46.37% 0.1507 0.001) |
| OKLCH | oklch(46.37% 0.151 0.4) |
| XYZ | xyz(15.1621, 8.7547, 9.4840) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.10
Violet Red
#A50055
ΔE00 3.51
Mulberry
#920A4E
ΔE00 3.71
Dark Fuchsia
#9D0759
ΔE00 3.72
Purple Red
#990147
ΔE00 4.13
Reddish Purple
#910951
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972855 #28976A
analogous
#97288C #972855 #973328
triadic
#972855 #559728 #285597
tetradic
#972855 #8C9728 #28976A #332897
square
#972855 #8C9728 #28976A #332897
split-complementary
#972855 #289733 #288C97
monochromatic
#360E1F #671B3A #972855 #C73570 #D66492
Accessibility & contrast
On white
7.63
#972855 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#972855 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972855
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972855 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972855 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404656
Deuteranopia (green-blind)
#5E5B52
Tritanopia (blue-blind)
#A4183B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #972855; /* rgb */ color: rgb(151, 40, 85); /* oklch */ color: oklch(46.4% 0.151 0.4);
Tailwind
colors: {
custom: {
50: '#ba6c84',
500: '#972855',
950: '#000000',
},
}SCSS
$custom: #972855; $custom-light: #ba6c84; $custom-dark: #000000;
JSON
{
"hex": "#972855",
"rgb": {
"r": 151,
"g": 40,
"b": 85
},
"hsl": {
"h": 335.676,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.46374,
"c": 0.15073,
"h": 0.4
},
"luminance": 0.08753
}Semantic roles & 50–950 ramp
primary
#972855
secondary
#5FBC96
accent
#E1A346
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#12070B
muted
#817A7C