#972956#972956
#972956 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.150 H 360.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #972956 |
|---|---|
| RGB | rgb(151, 41, 86) |
| HSL | hsl(335, 57%, 38%) |
| HSV | hsv(335, 73%, 59%) |
| CMYK | cmyk(0%, 72.8%, 43%, 40.8%) |
| CIE-LAB | lab(35.67, 48.89, -0.25) |
| CIE-LCH | lch(35.67, 48.89, 359.70°) |
| OKLab | oklab(46.51% 0.1499 -0.0001) |
| OKLCH | oklch(46.51% 0.15 0) |
| XYZ | xyz(15.2363, 8.8390, 9.7061) |
| Luminance | 0.0884 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.34
Violet Red
#A50055
ΔE00 3.61
Dark Fuchsia
#9D0759
ΔE00 3.73
Mulberry
#920A4E
ΔE00 3.84
Deep Magenta
#A0025C
ΔE00 4.20
Reddish Purple
#910951
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972956 #29976A
analogous
#97298D #972956 #973329
triadic
#972956 #569729 #295697
tetradic
#972956 #8D9729 #29976A #332997
square
#972956 #8D9729 #29976A #332997
split-complementary
#972956 #299733 #298D97
monochromatic
#370F1F #671C3B #972956 #C73671 #D56593
Accessibility & contrast
On white
7.59
#972956 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#972956 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972956
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972956 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972956 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404657
Deuteranopia (green-blind)
#5E5C53
Tritanopia (blue-blind)
#A41A3C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #972956; /* rgb */ color: rgb(151, 41, 86); /* oklch */ color: oklch(46.5% 0.150 360.0);
Tailwind
colors: {
custom: {
50: '#ba6c85',
500: '#972956',
950: '#000000',
},
}SCSS
$custom: #972956; $custom-light: #ba6c85; $custom-dark: #000000;
JSON
{
"hex": "#972956",
"rgb": {
"r": 151,
"g": 41,
"b": 86
},
"hsl": {
"h": 335.455,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.46506,
"c": 0.1499,
"h": 360
},
"luminance": 0.08837
}Semantic roles & 50–950 ramp
primary
#972956
secondary
#61BB96
accent
#E1A247
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#12070B
muted
#817A7C