#972872#972872
#972872 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.165 H 344.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #972872 |
|---|---|
| RGB | rgb(151, 40, 114) |
| HSL | hsl(320, 58%, 37%) |
| HSV | hsv(320, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 24.5%, 40.8%) |
| CIE-LAB | lab(36.58, 52.61, -16.70) |
| CIE-LCH | lch(36.58, 55.20, 342.39°) |
| OKLab | oklab(47.51% 0.1589 -0.0445) |
| OKLCH | oklch(47.51% 0.165 344.3) |
| XYZ | xyz(16.5592, 9.3135, 16.8419) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.63
Deep Magenta
#A0025C
ΔE00 6.01
Dark Fuchsia
#9D0759
ΔE00 6.39
Warm Purple
#952E8F
ΔE00 6.47
Dark Magenta
#960056
ΔE00 6.58
Bruise
#7E4071
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972872 #28974D
analogous
#842897 #972872 #97283B
triadic
#972872 #729728 #287297
tetradic
#972872 #978428 #28974D #283B97
square
#972872 #978428 #28974D #283B97
split-complementary
#972872 #3B9728 #289784
monochromatic
#360E29 #671B4D #972872 #C73597 #D664B0
Accessibility & contrast
On white
7.34
#972872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#972872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972872
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972872 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354A74
Deuteranopia (green-blind)
#565D6F
Tritanopia (blue-blind)
#A12749
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972872; /* rgb */ color: rgb(151, 40, 114); /* oklch */ color: oklch(47.5% 0.165 344.3);
Tailwind
colors: {
custom: {
50: '#b96c9a',
500: '#972872',
950: '#000000',
},
}SCSS
$custom: #972872; $custom-light: #b96c9a; $custom-dark: #000000;
JSON
{
"hex": "#972872",
"rgb": {
"r": 151,
"g": 40,
"b": 114
},
"hsl": {
"h": 320,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.47512,
"c": 0.16501,
"h": 344.3
},
"luminance": 0.09312
}Semantic roles & 50–950 ramp
primary
#972872
secondary
#5FBC7E
accent
#E17A46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E