#971B42#971B42
#971B42 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.159 H 8.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #971B42 |
|---|---|
| RGB | rgb(151, 27, 66) |
| HSL | hsl(341, 70%, 35%) |
| HSV | hsv(341, 82%, 59%) |
| CMYK | cmyk(0%, 82.1%, 56.3%, 40.8%) |
| CIE-LAB | lab(33.48, 51.68, 9.59) |
| CIE-LCH | lch(33.48, 52.56, 10.52°) |
| OKLab | oklab(44.7% 0.1572 0.0243) |
| OKLCH | oklch(44.7% 0.159 8.8) |
| XYZ | xyz(14.1392, 7.7586, 5.9062) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.74
Purple Red
#990147
ΔE00 3.25
Berry
#990F4B
ΔE00 3.52
Red Wine
#8C0034
ΔE00 3.80
Raspberry (survey)
#B00149
ΔE00 4.50
Purplish Red
#B0054B
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971B42 #1B9770
analogous
#971B80 #971B42 #97321B
triadic
#971B42 #42971B #1B4297
tetradic
#971B42 #80971B #1B9770 #321B97
square
#971B42 #80971B #1B9770 #321B97
split-complementary
#971B42 #1B9732 #1B8097
monochromatic
#2F0815 #63122B #971B42 #CB2459 #DF4D7B
Accessibility & contrast
On white
8.23
#971B42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#971B42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971B42
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971B42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971B42 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3F43
Deuteranopia (green-blind)
#5D583F
Tritanopia (blue-blind)
#A5002C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #971b42; /* rgb */ color: rgb(151, 27, 66); /* oklch */ color: oklch(44.7% 0.159 8.8);
Tailwind
colors: {
custom: {
50: '#bc6676',
500: '#971b42',
950: '#000000',
},
}SCSS
$custom: #971b42; $custom-light: #bc6676; $custom-dark: #000000;
JSON
{
"hex": "#971b42",
"rgb": {
"r": 151,
"g": 27,
"b": 66
},
"hsl": {
"h": 341.129,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.44703,
"c": 0.15904,
"h": 8.8
},
"luminance": 0.07757
}Semantic roles & 50–950 ramp
primary
#971B42
secondary
#4CC19D
accent
#ECB53B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B