#972579#972579
#972579 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.173 H 340.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #972579 |
|---|---|
| RGB | rgb(151, 37, 121) |
| HSL | hsl(316, 61%, 37%) |
| HSV | hsv(316, 75%, 59%) |
| CMYK | cmyk(0%, 75.5%, 19.9%, 40.8%) |
| CIE-LAB | lab(36.53, 54.62, -21.18) |
| CIE-LCH | lch(36.53, 58.58, 338.81°) |
| OKLab | oklab(47.57% 0.1633 -0.0571) |
| OKLCH | oklch(47.57% 0.173 340.7) |
| XYZ | xyz(16.8758, 9.2846, 18.9888) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.57
Warm Purple
#952E8F
ΔE00 4.80
Barney Purple
#A00498
ΔE00 6.41
Light Eggplant
#894585
ΔE00 6.72
Bruise
#7E4071
ΔE00 6.90
Darkmagenta
#8B008B
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972579 #259743
analogous
#7C2597 #972579 #972540
triadic
#972579 #799725 #257997
tetradic
#972579 #977C25 #259743 #254097
square
#972579 #977C25 #259743 #254097
split-complementary
#972579 #409725 #25977C
monochromatic
#350D2A #661952 #972579 #C831A0 #D85FB8
Accessibility & contrast
On white
7.35
#972579 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#972579 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972579
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972579 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972579 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#535C76
Tritanopia (blue-blind)
#A0284C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972579; /* rgb */ color: rgb(151, 37, 121); /* oklch */ color: oklch(47.6% 0.173 340.7);
Tailwind
colors: {
custom: {
50: '#b96ba0',
500: '#972579',
950: '#000000',
},
}SCSS
$custom: #972579; $custom-light: #b96ba0; $custom-dark: #000000;
JSON
{
"hex": "#972579",
"rgb": {
"r": 151,
"g": 37,
"b": 121
},
"hsl": {
"h": 315.789,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.47574,
"c": 0.173,
"h": 340.7
},
"luminance": 0.09283
}Semantic roles & 50–950 ramp
primary
#972579
secondary
#5BBD75
accent
#E46E44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E