#972D7C#972D7C
#972D7C is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.165 H 339.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #972D7C |
|---|---|
| RGB | rgb(151, 45, 124) |
| HSL | hsl(315, 54%, 38%) |
| HSV | hsv(315, 70%, 59%) |
| CMYK | cmyk(0%, 70.2%, 17.9%, 40.8%) |
| CIE-LAB | lab(37.69, 52.17, -21.25) |
| CIE-LCH | lch(37.69, 56.33, 337.84°) |
| OKLab | oklab(48.46% 0.1551 -0.0573) |
| OKLCH | oklch(48.46% 0.165 339.7) |
| XYZ | xyz(17.3394, 9.9129, 20.0651) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.33
Red Violet
#9E0168
ΔE00 5.51
Light Eggplant
#894585
ΔE00 5.64
Bruise
#7E4071
ΔE00 6.27
Barney Purple
#A00498
ΔE00 6.53
Darkmagenta
#8B008B
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972D7C #2D9748
analogous
#7D2D97 #972D7C #972D47
triadic
#972D7C #7C972D #2D7C97
tetradic
#972D7C #977D2D #2D9748 #2D4797
square
#972D7C #977D2D #2D9748 #2D4797
split-complementary
#972D7C #47972D #2D977D
monochromatic
#39112F #681F55 #972D7C #C53CA2 #D36BB9
Accessibility & contrast
On white
7.04
#972D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#972D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972D7C
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972D7C | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#A03050
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #972d7c; /* rgb */ color: rgb(151, 45, 124); /* oklch */ color: oklch(48.5% 0.165 339.7);
Tailwind
colors: {
custom: {
50: '#b96fa2',
500: '#972d7c',
950: '#000000',
},
}SCSS
$custom: #972d7c; $custom-light: #b96fa2; $custom-dark: #000000;
JSON
{
"hex": "#972d7c",
"rgb": {
"r": 151,
"g": 45,
"b": 124
},
"hsl": {
"h": 315.283,
"s": 54.082,
"l": 38.431
},
"oklch": {
"l": 0.48461,
"c": 0.16534,
"h": 339.7
},
"luminance": 0.09911
}Semantic roles & 50–950 ramp
primary
#972D7C
secondary
#66BA7B
accent
#DD704A
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F