#971B40#971B40
#971B40 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.159 H 9.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #971B40 |
|---|---|
| RGB | rgb(151, 27, 64) |
| HSL | hsl(342, 70%, 35%) |
| HSV | hsv(342, 82%, 59%) |
| CMYK | cmyk(0%, 82.1%, 57.6%, 40.8%) |
| CIE-LAB | lab(33.43, 51.53, 10.83) |
| CIE-LCH | lch(33.43, 52.65, 11.87°) |
| OKLab | oklab(44.65% 0.1564 0.0273) |
| OKLCH | oklch(44.65% 0.159 9.9) |
| XYZ | xyz(14.0812, 7.7354, 5.6011) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.31
Red Wine
#8C0034
ΔE00 3.59
Purple Red
#990147
ΔE00 3.82
Berry
#990F4B
ΔE00 4.16
Raspberry (survey)
#B00149
ΔE00 4.60
Purplish Red
#B0054B
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971B40 #1B9772
analogous
#971B7E #971B40 #97341B
triadic
#971B40 #40971B #1B4097
tetradic
#971B40 #7E971B #1B9772 #341B97
square
#971B40 #7E971B #1B9772 #341B97
split-complementary
#971B40 #1B9734 #1B7E97
monochromatic
#2F0814 #63122A #971B40 #CB2456 #DF4D79
Accessibility & contrast
On white
8.25
#971B40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#971B40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971B40
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971B40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971B40 | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3F41
Deuteranopia (green-blind)
#5E583D
Tritanopia (blue-blind)
#A5002B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #971b40; /* rgb */ color: rgb(151, 27, 64); /* oklch */ color: oklch(44.6% 0.159 9.9);
Tailwind
colors: {
custom: {
50: '#bc6674',
500: '#971b40',
950: '#000000',
},
}SCSS
$custom: #971b40; $custom-light: #bc6674; $custom-dark: #000000;
JSON
{
"hex": "#971b40",
"rgb": {
"r": 151,
"g": 27,
"b": 64
},
"hsl": {
"h": 342.097,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.4465,
"c": 0.15873,
"h": 9.9
},
"luminance": 0.07733
}Semantic roles & 50–950 ramp
primary
#971B40
secondary
#4CC19F
accent
#ECB83B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B