#972782#972782
#972782 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.177 H 336.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #972782 |
|---|---|
| RGB | rgb(151, 39, 130) |
| HSL | hsl(311, 59%, 37%) |
| HSV | hsv(311, 74%, 59%) |
| CMYK | cmyk(0%, 74.2%, 13.9%, 40.8%) |
| CIE-LAB | lab(37.20, 55.25, -25.74) |
| CIE-LCH | lch(37.20, 60.95, 335.02°) |
| OKLab | oklab(48.2% 0.1625 -0.0701) |
| OKLCH | oklch(48.2% 0.177 336.7) |
| XYZ | xyz(17.5176, 9.6437, 22.0536) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.88
Barney Purple
#A00498
ΔE00 4.77
Darkmagenta
#8B008B
ΔE00 5.99
Light Eggplant
#894585
ΔE00 6.02
Red Violet
#9E0168
ΔE00 6.32
Purple
#800080
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972782 #27973C
analogous
#742797 #972782 #97274A
triadic
#972782 #829727 #278297
tetradic
#972782 #977427 #27973C #274A97
square
#972782 #977427 #27973C #274A97
split-complementary
#972782 #4A9727 #279774
monochromatic
#360E2E #661A58 #972782 #C834AC #D662C1
Accessibility & contrast
On white
7.17
#972782 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#972782 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972782
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972782 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972782 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4D85
Deuteranopia (green-blind)
#505E7F
Tritanopia (blue-blind)
#9F2E52
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #972782; /* rgb */ color: rgb(151, 39, 130); /* oklch */ color: oklch(48.2% 0.177 336.7);
Tailwind
colors: {
custom: {
50: '#b96da6',
500: '#972782',
950: '#000000',
},
}SCSS
$custom: #972782; $custom-light: #b96da6; $custom-dark: #000000;
JSON
{
"hex": "#972782",
"rgb": {
"r": 151,
"g": 39,
"b": 130
},
"hsl": {
"h": 311.25,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.48198,
"c": 0.17693,
"h": 336.7
},
"luminance": 0.09642
}Semantic roles & 50–950 ramp
primary
#972782
secondary
#5EBC6F
accent
#E26346
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F