#971F6D#971F6D
#971F6D is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.172 H 346.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #971F6D |
|---|---|
| RGB | rgb(151, 31, 109) |
| HSL | hsl(321, 66%, 36%) |
| HSV | hsv(321, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 27.8%, 40.8%) |
| CIE-LAB | lab(35.33, 54.90, -15.46) |
| CIE-LCH | lch(35.33, 57.03, 344.27°) |
| OKLab | oklab(46.53% 0.167 -0.041) |
| OKLCH | oklch(46.53% 0.172 346.2) |
| XYZ | xyz(16.0136, 8.6652, 15.2943) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.34
Deep Magenta
#A0025C
ΔE00 4.91
Dark Fuchsia
#9D0759
ΔE00 5.29
Dark Magenta
#960056
ΔE00 5.32
Reddish Purple
#910951
ΔE00 6.28
Mulberry
#920A4E
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F6D #1F9749
analogous
#851F97 #971F6D #971F31
triadic
#971F6D #6D971F #1F6D97
tetradic
#971F6D #97851F #1F9749 #1F3197
square
#971F6D #97851F #1F9749 #1F3197
split-complementary
#971F6D #31971F #1F9785
monochromatic
#310A24 #641548 #971F6D #CA2992 #DC54AD
Accessibility & contrast
On white
7.68
#971F6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#971F6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F6D
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F6D | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31466F
Deuteranopia (green-blind)
#555A6A
Tritanopia (blue-blind)
#A21B44
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #971f6d; /* rgb */ color: rgb(151, 31, 109); /* oklch */ color: oklch(46.5% 0.172 346.2);
Tailwind
colors: {
custom: {
50: '#ba6997',
500: '#971f6d',
950: '#000000',
},
}SCSS
$custom: #971f6d; $custom-light: #ba6997; $custom-dark: #000000;
JSON
{
"hex": "#971f6d",
"rgb": {
"r": 151,
"g": 31,
"b": 109
},
"hsl": {
"h": 321,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.46534,
"c": 0.17193,
"h": 346.2
},
"luminance": 0.08663
}Semantic roles & 50–950 ramp
primary
#971F6D
secondary
#52BF79
accent
#E97A3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E