#971F72#971F72
#971F72 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.175 H 343.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #971F72 |
|---|---|
| RGB | rgb(151, 31, 114) |
| HSL | hsl(319, 66%, 36%) |
| HSV | hsv(319, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 24.5%, 40.8%) |
| CIE-LAB | lab(35.55, 55.54, -18.29) |
| CIE-LCH | lch(35.55, 58.48, 341.77°) |
| OKLab | oklab(46.76% 0.1679 -0.0489) |
| OKLCH | oklch(46.76% 0.175 343.8) |
| XYZ | xyz(16.2904, 8.7760, 16.7524) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.11
Deep Magenta
#A0025C
ΔE00 5.99
Warm Purple
#952E8F
ΔE00 6.32
Dark Magenta
#960056
ΔE00 6.40
Dark Fuchsia
#9D0759
ΔE00 6.41
Bruise
#7E4071
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F72 #1F9744
analogous
#801F97 #971F72 #971F36
triadic
#971F72 #72971F #1F7297
tetradic
#971F72 #97801F #1F9744 #1F3697
square
#971F72 #97801F #1F9744 #1F3697
split-complementary
#971F72 #36971F #1F9780
monochromatic
#310A25 #64154C #971F72 #CA2998 #DC54B2
Accessibility & contrast
On white
7.62
#971F72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#971F72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F72
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F72 | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#535B6F
Tritanopia (blue-blind)
#A11E46
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971f72; /* rgb */ color: rgb(151, 31, 114); /* oklch */ color: oklch(46.8% 0.175 343.8);
Tailwind
colors: {
custom: {
50: '#ba699a',
500: '#971f72',
950: '#000000',
},
}SCSS
$custom: #971f72; $custom-light: #ba699a; $custom-dark: #000000;
JSON
{
"hex": "#971f72",
"rgb": {
"r": 151,
"g": 31,
"b": 114
},
"hsl": {
"h": 318.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.46763,
"c": 0.1749,
"h": 343.8
},
"luminance": 0.08774
}Semantic roles & 50–950 ramp
primary
#971F72
secondary
#52BF74
accent
#E9733F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E