#972040#972040
#972040 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.154 H 10.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #972040 |
|---|---|
| RGB | rgb(151, 32, 64) |
| HSL | hsl(344, 65%, 36%) |
| HSV | hsv(344, 79%, 59%) |
| CMYK | cmyk(0%, 78.8%, 57.6%, 40.8%) |
| CIE-LAB | lab(33.95, 50.04, 11.56) |
| CIE-LCH | lch(33.95, 51.36, 13.00°) |
| OKLab | oklab(45.04% 0.1516 0.029) |
| OKLCH | oklch(45.04% 0.154 10.8) |
| XYZ | xyz(14.2058, 7.9846, 5.6426) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.53
Red Wine
#8C0034
ΔE00 4.03
Purple Red
#990147
ΔE00 4.56
Raspberry (survey)
#B00149
ΔE00 4.74
Berry
#990F4B
ΔE00 4.81
Purplish Red
#B0054B
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972040 #209777
analogous
#97207B #972040 #973C20
triadic
#972040 #409720 #204097
tetradic
#972040 #7B9720 #209777 #3C2097
square
#972040 #7B9720 #209777 #3C2097
split-complementary
#972040 #20973C #207B97
monochromatic
#320B15 #64152B #972040 #C92B55 #DB567A
Accessibility & contrast
On white
8.09
#972040 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#972040 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972040
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972040 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#5F593D
Tritanopia (blue-blind)
#A5002E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #972040; /* rgb */ color: rgb(151, 32, 64); /* oklch */ color: oklch(45.0% 0.154 10.8);
Tailwind
colors: {
custom: {
50: '#bc6874',
500: '#972040',
950: '#000000',
},
}SCSS
$custom: #972040; $custom-light: #bc6874; $custom-dark: #000000;
JSON
{
"hex": "#972040",
"rgb": {
"r": 151,
"g": 32,
"b": 64
},
"hsl": {
"h": 343.866,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.45038,
"c": 0.15432,
"h": 10.8
},
"luminance": 0.07982
}Semantic roles & 50–950 ramp
primary
#972040
secondary
#54BFA2
accent
#E8BB40
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B