#971B45#971B45
#971B45 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.160 H 7.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #971B45 |
|---|---|
| RGB | rgb(151, 27, 69) |
| HSL | hsl(340, 70%, 35%) |
| HSV | hsv(340, 82%, 59%) |
| CMYK | cmyk(0%, 82.1%, 54.3%, 40.8%) |
| CIE-LAB | lab(33.55, 51.91, 7.74) |
| CIE-LCH | lch(33.55, 52.48, 8.48°) |
| OKLab | oklab(44.79% 0.1583 0.0199) |
| OKLCH | oklch(44.79% 0.16 7.2) |
| XYZ | xyz(14.2300, 7.7949, 6.3843) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.48
Berry
#990F4B
ΔE00 2.59
Cranberry
#9E003A
ΔE00 3.52
Red Wine
#8C0034
ΔE00 4.29
Purplish Red
#B0054B
ΔE00 4.53
Raspberry (survey)
#B00149
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971B45 #1B976D
analogous
#971B83 #971B45 #972F1B
triadic
#971B45 #45971B #1B4597
tetradic
#971B45 #83971B #1B976D #2F1B97
square
#971B45 #83971B #1B976D #2F1B97
split-complementary
#971B45 #1B972F #1B8397
monochromatic
#2F0816 #63122D #971B45 #CB245D #DF4D7F
Accessibility & contrast
On white
8.21
#971B45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#971B45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971B45
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971B45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971B45 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3F46
Deuteranopia (green-blind)
#5D5842
Tritanopia (blue-blind)
#A5002E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #971b45; /* rgb */ color: rgb(151, 27, 69); /* oklch */ color: oklch(44.8% 0.160 7.2);
Tailwind
colors: {
custom: {
50: '#bc6678',
500: '#971b45',
950: '#000000',
},
}SCSS
$custom: #971b45; $custom-light: #bc6678; $custom-dark: #000000;
JSON
{
"hex": "#971b45",
"rgb": {
"r": 151,
"g": 27,
"b": 69
},
"hsl": {
"h": 339.677,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.44785,
"c": 0.15959,
"h": 7.2
},
"luminance": 0.07793
}Semantic roles & 50–950 ramp
primary
#971B45
secondary
#4CC19A
accent
#ECB03B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B