#972479#972479
#972479 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.174 H 340.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #972479 |
|---|---|
| RGB | rgb(151, 36, 121) |
| HSL | hsl(316, 61%, 37%) |
| HSV | hsv(316, 76%, 59%) |
| CMYK | cmyk(0%, 76.2%, 19.9%, 40.8%) |
| CIE-LAB | lab(36.41, 54.95, -21.36) |
| CIE-LCH | lch(36.41, 58.95, 338.76°) |
| OKLab | oklab(47.49% 0.1643 -0.0576) |
| OKLCH | oklch(47.49% 0.174 340.7) |
| XYZ | xyz(16.8451, 9.2232, 18.9786) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.54
Warm Purple
#952E8F
ΔE00 4.79
Barney Purple
#A00498
ΔE00 6.34
Light Eggplant
#894585
ΔE00 6.82
Bruise
#7E4071
ΔE00 6.99
Darkmagenta
#8B008B
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972479 #249742
analogous
#7C2497 #972479 #972440
triadic
#972479 #799724 #247997
tetradic
#972479 #977C24 #249742 #244097
square
#972479 #977C24 #249742 #244097
split-complementary
#972479 #409724 #24977C
monochromatic
#340C2A #661851 #972479 #C830A1 #D85DB8
Accessibility & contrast
On white
7.38
#972479 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#972479 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972479
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972479 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972479 | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#525C76
Tritanopia (blue-blind)
#A0274C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972479; /* rgb */ color: rgb(151, 36, 121); /* oklch */ color: oklch(47.5% 0.174 340.7);
Tailwind
colors: {
custom: {
50: '#b96ba0',
500: '#972479',
950: '#000000',
},
}SCSS
$custom: #972479; $custom-light: #b96ba0; $custom-dark: #000000;
JSON
{
"hex": "#972479",
"rgb": {
"r": 151,
"g": 36,
"b": 121
},
"hsl": {
"h": 315.652,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.4749,
"c": 0.17412,
"h": 340.7
},
"luminance": 0.09222
}Semantic roles & 50–950 ramp
primary
#972479
secondary
#5ABD74
accent
#E56D43
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E