#971F6B#971F6B
#971F6B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.171 H 347.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #971F6B |
|---|---|
| RGB | rgb(151, 31, 107) |
| HSL | hsl(322, 66%, 36%) |
| HSV | hsv(322, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 29.1%, 40.8%) |
| CIE-LAB | lab(35.25, 54.65, -14.32) |
| CIE-LCH | lch(35.25, 56.49, 345.31°) |
| OKLab | oklab(46.45% 0.1666 -0.0378) |
| OKLCH | oklch(46.45% 0.171 347.2) |
| XYZ | xyz(15.9071, 8.6226, 14.7337) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.15
Deep Magenta
#A0025C
ΔE00 4.48
Dark Fuchsia
#9D0759
ΔE00 4.84
Dark Magenta
#960056
ΔE00 4.89
Reddish Purple
#910951
ΔE00 5.83
Mulberry
#920A4E
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F6B #1F974B
analogous
#871F97 #971F6B #971F2F
triadic
#971F6B #6B971F #1F6B97
tetradic
#971F6B #97871F #1F974B #1F2F97
square
#971F6B #97871F #1F974B #1F2F97
split-complementary
#971F6B #2F971F #1F9787
monochromatic
#310A23 #641547 #971F6B #CA298F #DC54AA
Accessibility & contrast
On white
7.71
#971F6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#971F6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F6B
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F6B | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32466D
Deuteranopia (green-blind)
#565A68
Tritanopia (blue-blind)
#A21A43
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #971f6b; /* rgb */ color: rgb(151, 31, 107); /* oklch */ color: oklch(46.4% 0.171 347.2);
Tailwind
colors: {
custom: {
50: '#ba6995',
500: '#971f6b',
950: '#000000',
},
}SCSS
$custom: #971f6b; $custom-light: #ba6995; $custom-dark: #000000;
JSON
{
"hex": "#971f6b",
"rgb": {
"r": 151,
"g": 31,
"b": 107
},
"hsl": {
"h": 322,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.46446,
"c": 0.17079,
"h": 347.2
},
"luminance": 0.08621
}Semantic roles & 50–950 ramp
primary
#971F6B
secondary
#52BF7A
accent
#E97D3F
background
#FBF6F9
surface
#F7EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E