#971F48#971F48
#971F48 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.157 H 6.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #971F48 |
|---|---|
| RGB | rgb(151, 31, 72) |
| HSL | hsl(340, 66%, 36%) |
| HSV | hsv(340, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 52.3%, 40.8%) |
| CIE-LAB | lab(34.04, 50.99, 6.47) |
| CIE-LCH | lch(34.04, 51.40, 7.23°) |
| OKLab | oklab(45.17% 0.1557 0.0168) |
| OKLCH | oklch(45.17% 0.157 6.2) |
| XYZ | xyz(14.4235, 8.0292, 6.9199) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.30
Purple Red
#990147
ΔE00 2.52
Cranberry
#9E003A
ΔE00 4.24
Violet Red
#A50055
ΔE00 4.50
Mulberry
#920A4E
ΔE00 4.52
Purplish Red
#B0054B
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F48 #1F976E
analogous
#971F84 #971F48 #97321F
triadic
#971F48 #48971F #1F4897
tetradic
#971F48 #84971F #1F976E #321F97
square
#971F48 #84971F #1F976E #321F97
split-complementary
#971F48 #1F9732 #1F8497
monochromatic
#310A18 #641530 #971F48 #CA2960 #DC5483
Accessibility & contrast
On white
8.06
#971F48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#971F48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F48
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F48 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4149
Deuteranopia (green-blind)
#5E5945
Tritanopia (blue-blind)
#A50031
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #971f48; /* rgb */ color: rgb(151, 31, 72); /* oklch */ color: oklch(45.2% 0.157 6.2);
Tailwind
colors: {
custom: {
50: '#bb677a',
500: '#971f48',
950: '#000000',
},
}SCSS
$custom: #971f48; $custom-light: #bb677a; $custom-dark: #000000;
JSON
{
"hex": "#971f48",
"rgb": {
"r": 151,
"g": 31,
"b": 72
},
"hsl": {
"h": 339.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.45172,
"c": 0.15664,
"h": 6.2
},
"luminance": 0.08027
}Semantic roles & 50–950 ramp
primary
#971F48
secondary
#52BF9A
accent
#E9AF3F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B