#971F47#971F47
#971F47 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.156 H 6.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #971F47 |
|---|---|
| RGB | rgb(151, 31, 71) |
| HSL | hsl(340, 66%, 36%) |
| HSV | hsv(340, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 53%, 40.8%) |
| CIE-LAB | lab(34.02, 50.91, 7.08) |
| CIE-LCH | lch(34.02, 51.40, 7.92°) |
| OKLab | oklab(45.14% 0.1553 0.0183) |
| OKLCH | oklch(45.14% 0.156 6.7) |
| XYZ | xyz(14.3911, 8.0162, 6.7495) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.56
Purple Red
#990147
ΔE00 2.68
Cranberry
#9E003A
ΔE00 3.97
Purplish Red
#B0054B
ΔE00 4.53
Raspberry (survey)
#B00149
ΔE00 4.59
Violet Red
#A50055
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F47 #1F976F
analogous
#971F83 #971F47 #97331F
triadic
#971F47 #47971F #1F4797
tetradic
#971F47 #83971F #1F976F #331F97
square
#971F47 #83971F #1F976F #331F97
split-complementary
#971F47 #1F9733 #1F8397
monochromatic
#310A17 #64152F #971F47 #CA295F #DC5482
Accessibility & contrast
On white
8.07
#971F47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#971F47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F47
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F47 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4148
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#A50030
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #971f47; /* rgb */ color: rgb(151, 31, 71); /* oklch */ color: oklch(45.1% 0.156 6.7);
Tailwind
colors: {
custom: {
50: '#bb6779',
500: '#971f47',
950: '#000000',
},
}SCSS
$custom: #971f47; $custom-light: #bb6779; $custom-dark: #000000;
JSON
{
"hex": "#971f47",
"rgb": {
"r": 151,
"g": 31,
"b": 71
},
"hsl": {
"h": 340,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.45144,
"c": 0.15643,
"h": 6.7
},
"luminance": 0.08014
}Semantic roles & 50–950 ramp
primary
#971F47
secondary
#52BF9B
accent
#E9B03F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B