#972480#972480
#972480 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.179 H 337.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #972480 |
|---|---|
| RGB | rgb(151, 36, 128) |
| HSL | hsl(312, 61%, 37%) |
| HSV | hsv(312, 76%, 59%) |
| CMYK | cmyk(0%, 76.2%, 15.2%, 40.8%) |
| CIE-LAB | lab(36.75, 55.95, -25.20) |
| CIE-LCH | lch(36.75, 61.37, 335.75°) |
| OKLab | oklab(47.84% 0.1652 -0.0685) |
| OKLCH | oklch(47.84% 0.179 337.5) |
| XYZ | xyz(17.2900, 9.4012, 21.3219) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.33
Barney Purple
#A00498
ΔE00 4.92
Red Violet
#9E0168
ΔE00 5.87
Darkmagenta
#8B008B
ΔE00 5.93
Light Eggplant
#894585
ΔE00 6.42
Purple
#800080
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972480 #24973B
analogous
#752497 #972480 #972447
triadic
#972480 #809724 #248097
tetradic
#972480 #977524 #24973B #244797
square
#972480 #977524 #24973B #244797
split-complementary
#972480 #479724 #249775
monochromatic
#340C2C #661856 #972480 #C830AA #D85DC0
Accessibility & contrast
On white
7.29
#972480 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#972480 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972480
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972480 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972480 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284B82
Deuteranopia (green-blind)
#505D7D
Tritanopia (blue-blind)
#9F2B50
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972480; /* rgb */ color: rgb(151, 36, 128); /* oklch */ color: oklch(47.8% 0.179 337.5);
Tailwind
colors: {
custom: {
50: '#b96ba5',
500: '#972480',
950: '#000000',
},
}SCSS
$custom: #972480; $custom-light: #b96ba5; $custom-dark: #000000;
JSON
{
"hex": "#972480",
"rgb": {
"r": 151,
"g": 36,
"b": 128
},
"hsl": {
"h": 312,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.47841,
"c": 0.17887,
"h": 337.5
},
"luminance": 0.094
}Semantic roles & 50–950 ramp
primary
#972480
secondary
#5ABD6E
accent
#E56343
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F