#971B48#971B48
#971B48 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.160 H 5.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #971B48 |
|---|---|
| RGB | rgb(151, 27, 72) |
| HSL | hsl(338, 70%, 35%) |
| HSV | hsv(338, 82%, 59%) |
| CMYK | cmyk(0%, 82.1%, 52.3%, 40.8%) |
| CIE-LAB | lab(33.63, 52.15, 5.89) |
| CIE-LCH | lch(33.63, 52.48, 6.44°) |
| OKLab | oklab(44.87% 0.1595 0.0154) |
| OKLCH | oklch(44.87% 0.16 5.5) |
| XYZ | xyz(14.3254, 7.8331, 6.8872) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.74
Purple Red
#990147
ΔE00 1.94
Mulberry
#920A4E
ΔE00 4.00
Violet Red
#A50055
ΔE00 4.12
Cranberry
#9E003A
ΔE00 4.37
Purplish Red
#B0054B
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971B48 #1B976A
analogous
#971B86 #971B48 #972C1B
triadic
#971B48 #48971B #1B4897
tetradic
#971B48 #86971B #1B976A #2C1B97
square
#971B48 #86971B #1B976A #2C1B97
split-complementary
#971B48 #1B972C #1B8697
monochromatic
#2F0816 #63122F #971B48 #CB2461 #DF4D82
Accessibility & contrast
On white
8.18
#971B48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#971B48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971B48
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971B48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971B48 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3F49
Deuteranopia (green-blind)
#5D5845
Tritanopia (blue-blind)
#A5002F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #971b48; /* rgb */ color: rgb(151, 27, 72); /* oklch */ color: oklch(44.9% 0.160 5.5);
Tailwind
colors: {
custom: {
50: '#bc667a',
500: '#971b48',
950: '#000000',
},
}SCSS
$custom: #971b48; $custom-light: #bc667a; $custom-dark: #000000;
JSON
{
"hex": "#971b48",
"rgb": {
"r": 151,
"g": 27,
"b": 72
},
"hsl": {
"h": 338.226,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.4487,
"c": 0.16024,
"h": 5.5
},
"luminance": 0.07831
}Semantic roles & 50–950 ramp
primary
#971B48
secondary
#4CC197
accent
#ECAC3B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B