#972854#972854
#972854 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.150 H 1.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #972854 |
|---|---|
| RGB | rgb(151, 40, 84) |
| HSL | hsl(336, 58%, 37%) |
| HSV | hsv(336, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 44.4%, 40.8%) |
| CIE-LAB | lab(35.48, 49.05, 0.75) |
| CIE-LCH | lch(35.48, 49.06, 0.88°) |
| OKLab | oklab(46.34% 0.1504 0.0025) |
| OKLCH | oklch(46.34% 0.15 1) |
| XYZ | xyz(15.1227, 8.7389, 9.2762) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.96
Violet Red
#A50055
ΔE00 3.56
Mulberry
#920A4E
ΔE00 3.77
Dark Fuchsia
#9D0759
ΔE00 3.92
Purple Red
#990147
ΔE00 3.98
Reddish Purple
#910951
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972854 #28976B
analogous
#97288C #972854 #973328
triadic
#972854 #549728 #285497
tetradic
#972854 #8C9728 #28976B #332897
square
#972854 #8C9728 #28976B #332897
split-complementary
#972854 #289733 #288C97
monochromatic
#360E1E #671B39 #972854 #C7356F #D66491
Accessibility & contrast
On white
7.64
#972854 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#972854 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972854
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972854 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972854 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404655
Deuteranopia (green-blind)
#5E5B51
Tritanopia (blue-blind)
#A4173B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #972854; /* rgb */ color: rgb(151, 40, 84); /* oklch */ color: oklch(46.3% 0.150 1.0);
Tailwind
colors: {
custom: {
50: '#ba6c84',
500: '#972854',
950: '#000000',
},
}SCSS
$custom: #972854; $custom-light: #ba6c84; $custom-dark: #000000;
JSON
{
"hex": "#972854",
"rgb": {
"r": 151,
"g": 40,
"b": 84
},
"hsl": {
"h": 336.216,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.46341,
"c": 0.1504,
"h": 1
},
"luminance": 0.08737
}Semantic roles & 50–950 ramp
primary
#972854
secondary
#5FBC97
accent
#E1A446
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#12070A
muted
#817A7C