#972754#972754
#972754 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.152 H 0.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #972754 |
|---|---|
| RGB | rgb(151, 39, 84) |
| HSL | hsl(336, 59%, 37%) |
| HSV | hsv(336, 74%, 59%) |
| CMYK | cmyk(0%, 74.2%, 44.4%, 40.8%) |
| CIE-LAB | lab(35.35, 49.42, 0.56) |
| CIE-LCH | lch(35.35, 49.42, 0.65°) |
| OKLab | oklab(46.25% 0.1516 0.002) |
| OKLCH | oklch(46.25% 0.152 0.8) |
| XYZ | xyz(15.0894, 8.6724, 9.2651) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.87
Violet Red
#A50055
ΔE00 3.43
Mulberry
#920A4E
ΔE00 3.60
Dark Fuchsia
#9D0759
ΔE00 3.74
Purple Red
#990147
ΔE00 3.89
Reddish Purple
#910951
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972754 #27976A
analogous
#97278C #972754 #973227
triadic
#972754 #549727 #275497
tetradic
#972754 #8C9727 #27976A #322797
square
#972754 #8C9727 #27976A #322797
split-complementary
#972754 #279732 #278C97
monochromatic
#360E1E #661A39 #972754 #C8346F #D66291
Accessibility & contrast
On white
7.68
#972754 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#972754 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972754
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972754 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972754 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4555
Deuteranopia (green-blind)
#5E5B51
Tritanopia (blue-blind)
#A4153A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #972754; /* rgb */ color: rgb(151, 39, 84); /* oklch */ color: oklch(46.2% 0.152 0.8);
Tailwind
colors: {
custom: {
50: '#ba6b84',
500: '#972754',
950: '#000000',
},
}SCSS
$custom: #972754; $custom-light: #ba6b84; $custom-dark: #000000;
JSON
{
"hex": "#972754",
"rgb": {
"r": 151,
"g": 39,
"b": 84
},
"hsl": {
"h": 335.893,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.46245,
"c": 0.15156,
"h": 0.8
},
"luminance": 0.0867
}Semantic roles & 50–950 ramp
primary
#972754
secondary
#5EBC96
accent
#E2A346
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#12070A
muted
#817A7C