#971E47#971E47
#971E47 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.157 H 6.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #971E47 |
|---|---|
| RGB | rgb(151, 30, 71) |
| HSL | hsl(340, 67%, 35%) |
| HSV | hsv(340, 80%, 59%) |
| CMYK | cmyk(0%, 80.1%, 53%, 40.8%) |
| CIE-LAB | lab(33.91, 51.21, 6.93) |
| CIE-LCH | lch(33.91, 51.68, 7.71°) |
| OKLab | oklab(45.07% 0.1563 0.018) |
| OKLCH | oklch(45.07% 0.157 6.6) |
| XYZ | xyz(14.3654, 7.9648, 6.7409) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.41
Purple Red
#990147
ΔE00 2.52
Cranberry
#9E003A
ΔE00 3.99
Purplish Red
#B0054B
ΔE00 4.54
Raspberry (survey)
#B00149
ΔE00 4.61
Violet Red
#A50055
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971E47 #1E976E
analogous
#971E84 #971E47 #97311E
triadic
#971E47 #47971E #1E4797
tetradic
#971E47 #84971E #1E976E #311E97
square
#971E47 #84971E #1E976E #311E97
split-complementary
#971E47 #1E9731 #1E8497
monochromatic
#310A17 #64142F #971E47 #CA285F #DD5381
Accessibility & contrast
On white
8.10
#971E47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#971E47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971E47
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971E47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971E47 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4048
Deuteranopia (green-blind)
#5D5844
Tritanopia (blue-blind)
#A50030
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #971e47; /* rgb */ color: rgb(151, 30, 71); /* oklch */ color: oklch(45.1% 0.157 6.6);
Tailwind
colors: {
custom: {
50: '#bc6779',
500: '#971e47',
950: '#000000',
},
}SCSS
$custom: #971e47; $custom-light: #bc6779; $custom-dark: #000000;
JSON
{
"hex": "#971e47",
"rgb": {
"r": 151,
"g": 30,
"b": 71
},
"hsl": {
"h": 339.669,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.45065,
"c": 0.15736,
"h": 6.6
},
"luminance": 0.07963
}Semantic roles & 50–950 ramp
primary
#971E47
secondary
#51C09A
accent
#EAB03E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B