#972873#972873
#972873 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.166 H 343.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #972873 |
|---|---|
| RGB | rgb(151, 40, 115) |
| HSL | hsl(319, 58%, 37%) |
| HSV | hsv(319, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 23.8%, 40.8%) |
| CIE-LAB | lab(36.62, 52.75, -17.27) |
| CIE-LCH | lch(36.62, 55.50, 341.88°) |
| OKLab | oklab(47.56% 0.1591 -0.0461) |
| OKLCH | oklch(47.56% 0.166 343.8) |
| XYZ | xyz(16.6164, 9.3364, 17.1434) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.76
Deep Magenta
#A0025C
ΔE00 6.21
Warm Purple
#952E8F
ΔE00 6.23
Bruise
#7E4071
ΔE00 6.57
Dark Fuchsia
#9D0759
ΔE00 6.60
Dark Magenta
#960056
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972873 #28974C
analogous
#832897 #972873 #97283C
triadic
#972873 #739728 #287397
tetradic
#972873 #978328 #28974C #283C97
square
#972873 #978328 #28974C #283C97
split-complementary
#972873 #3C9728 #289783
monochromatic
#360E29 #671B4E #972873 #C73598 #D664B1
Accessibility & contrast
On white
7.32
#972873 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#972873 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972873
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972873 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972873 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344A75
Deuteranopia (green-blind)
#565D70
Tritanopia (blue-blind)
#A1284A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972873; /* rgb */ color: rgb(151, 40, 115); /* oklch */ color: oklch(47.6% 0.166 343.8);
Tailwind
colors: {
custom: {
50: '#b96d9b',
500: '#972873',
950: '#000000',
},
}SCSS
$custom: #972873; $custom-light: #b96d9b; $custom-dark: #000000;
JSON
{
"hex": "#972873",
"rgb": {
"r": 151,
"g": 40,
"b": 115
},
"hsl": {
"h": 319.459,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.47557,
"c": 0.16564,
"h": 343.8
},
"luminance": 0.09335
}Semantic roles & 50–950 ramp
primary
#972873
secondary
#5FBC7D
accent
#E17946
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E