#972852#972852
#972852 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.150 H 2.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #972852 |
|---|---|
| RGB | rgb(151, 40, 82) |
| HSL | hsl(337, 58%, 37%) |
| HSV | hsv(337, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 45.7%, 40.8%) |
| CIE-LAB | lab(35.42, 48.85, 1.95) |
| CIE-LCH | lch(35.42, 48.89, 2.29°) |
| OKLab | oklab(46.28% 0.1497 0.0056) |
| OKLCH | oklch(46.28% 0.15 2.1) |
| XYZ | xyz(15.0454, 8.7080, 8.8695) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.78
Violet Red
#A50055
ΔE00 3.72
Purple Red
#990147
ΔE00 3.73
Mulberry
#920A4E
ΔE00 3.96
Dark Fuchsia
#9D0759
ΔE00 4.35
Reddish Purple
#910951
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972852 #28976D
analogous
#97288A #972852 #973528
triadic
#972852 #529728 #285297
tetradic
#972852 #8A9728 #28976D #352897
square
#972852 #8A9728 #28976D #352897
split-complementary
#972852 #289735 #288A97
monochromatic
#360E1D #671B38 #972852 #C7356C #D6648F
Accessibility & contrast
On white
7.66
#972852 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#972852 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972852
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972852 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#5E5B4F
Tritanopia (blue-blind)
#A4163A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #972852; /* rgb */ color: rgb(151, 40, 82); /* oklch */ color: oklch(46.3% 0.150 2.1);
Tailwind
colors: {
custom: {
50: '#bb6b82',
500: '#972852',
950: '#000000',
},
}SCSS
$custom: #972852; $custom-light: #bb6b82; $custom-dark: #000000;
JSON
{
"hex": "#972852",
"rgb": {
"r": 151,
"g": 40,
"b": 82
},
"hsl": {
"h": 337.297,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.46277,
"c": 0.14976,
"h": 2.1
},
"luminance": 0.08706
}Semantic roles & 50–950 ramp
primary
#972852
secondary
#5FBC99
accent
#E1A746
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C