#971B47#971B47
#971B47 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.160 H 6.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #971B47 |
|---|---|
| RGB | rgb(151, 27, 71) |
| HSL | hsl(339, 70%, 35%) |
| HSV | hsv(339, 82%, 59%) |
| CMYK | cmyk(0%, 82.1%, 53%, 40.8%) |
| CIE-LAB | lab(33.61, 52.07, 6.50) |
| CIE-LCH | lch(33.61, 52.48, 7.12°) |
| OKLab | oklab(44.84% 0.1591 0.0169) |
| OKLCH | oklch(44.84% 0.16 6.1) |
| XYZ | xyz(14.2931, 7.8202, 6.7168) |
| Luminance | 0.0782 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.01
Purple Red
#990147
ΔE00 2.09
Cranberry
#9E003A
ΔE00 4.08
Mulberry
#920A4E
ΔE00 4.28
Violet Red
#A50055
ΔE00 4.37
Purplish Red
#B0054B
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971B47 #1B976B
analogous
#971B85 #971B47 #972D1B
triadic
#971B47 #47971B #1B4797
tetradic
#971B47 #85971B #1B976B #2D1B97
square
#971B47 #85971B #1B976B #2D1B97
split-complementary
#971B47 #1B972D #1B8597
monochromatic
#2F0816 #63122F #971B47 #CB245F #DF4D81
Accessibility & contrast
On white
8.19
#971B47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#971B47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971B47
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971B47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971B47 | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3F48
Deuteranopia (green-blind)
#5D5844
Tritanopia (blue-blind)
#A5002F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #971b47; /* rgb */ color: rgb(151, 27, 71); /* oklch */ color: oklch(44.8% 0.160 6.1);
Tailwind
colors: {
custom: {
50: '#bc6679',
500: '#971b47',
950: '#000000',
},
}SCSS
$custom: #971b47; $custom-light: #bc6679; $custom-dark: #000000;
JSON
{
"hex": "#971b47",
"rgb": {
"r": 151,
"g": 27,
"b": 71
},
"hsl": {
"h": 338.71,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.44841,
"c": 0.16001,
"h": 6.1
},
"luminance": 0.07818
}Semantic roles & 50–950 ramp
primary
#971B47
secondary
#4CC198
accent
#ECAE3B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B