#972042#972042
#972042 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.155 H 9.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #972042 |
|---|---|
| RGB | rgb(151, 32, 66) |
| HSL | hsl(343, 65%, 36%) |
| HSV | hsv(343, 79%, 59%) |
| CMYK | cmyk(0%, 78.8%, 56.3%, 40.8%) |
| CIE-LAB | lab(34.00, 50.19, 10.32) |
| CIE-LCH | lch(34.00, 51.24, 11.62°) |
| OKLab | oklab(45.09% 0.1524 0.0261) |
| OKLCH | oklch(45.09% 0.155 9.7) |
| XYZ | xyz(14.2637, 8.0077, 5.9478) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.82
Purple Red
#990147
ΔE00 3.99
Red Wine
#8C0034
ΔE00 4.14
Berry
#990F4B
ΔE00 4.17
Raspberry (survey)
#B00149
ΔE00 4.57
Purplish Red
#B0054B
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972042 #209775
analogous
#97207D #972042 #973920
triadic
#972042 #429720 #204297
tetradic
#972042 #7D9720 #209775 #392097
square
#972042 #7D9720 #209775 #392097
split-complementary
#972042 #209739 #207D97
monochromatic
#320B16 #64152C #972042 #C92B58 #DB567C
Accessibility & contrast
On white
8.07
#972042 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#972042 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972042
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972042 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404143
Deuteranopia (green-blind)
#5F593F
Tritanopia (blue-blind)
#A5002F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #972042; /* rgb */ color: rgb(151, 32, 66); /* oklch */ color: oklch(45.1% 0.155 9.7);
Tailwind
colors: {
custom: {
50: '#bc6876',
500: '#972042',
950: '#000000',
},
}SCSS
$custom: #972042; $custom-light: #bc6876; $custom-dark: #000000;
JSON
{
"hex": "#972042",
"rgb": {
"r": 151,
"g": 32,
"b": 66
},
"hsl": {
"h": 342.857,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.45089,
"c": 0.15459,
"h": 9.7
},
"luminance": 0.08006
}Semantic roles & 50–950 ramp
primary
#972042
secondary
#54BFA0
accent
#E8B840
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B