#971F4D#971F4D
#971F4D is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.158 H 3.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #971F4D |
|---|---|
| RGB | rgb(151, 31, 77) |
| HSL | hsl(337, 66%, 36%) |
| HSV | hsv(337, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 49%, 40.8%) |
| CIE-LAB | lab(34.18, 51.43, 3.41) |
| CIE-LCH | lch(34.18, 51.54, 3.79°) |
| OKLab | oklab(45.32% 0.1576 0.0093) |
| OKLCH | oklch(45.32% 0.158 3.4) |
| XYZ | xyz(14.5933, 8.0971, 7.8142) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.48
Purple Red
#990147
ΔE00 2.32
Mulberry
#920A4E
ΔE00 3.30
Violet Red
#A50055
ΔE00 3.39
Reddish Purple
#910951
ΔE00 4.17
Dark Fuchsia
#9D0759
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F4D #1F9769
analogous
#971F89 #971F4D #972D1F
triadic
#971F4D #4D971F #1F4D97
tetradic
#971F4D #89971F #1F9769 #2D1F97
square
#971F4D #89971F #1F9769 #2D1F97
split-complementary
#971F4D #1F972D #1F8997
monochromatic
#310A19 #641533 #971F4D #CA2967 #DC5488
Accessibility & contrast
On white
8.02
#971F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#971F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F4D
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F4D | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D414E
Deuteranopia (green-blind)
#5D594A
Tritanopia (blue-blind)
#A50033
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #971f4d; /* rgb */ color: rgb(151, 31, 77); /* oklch */ color: oklch(45.3% 0.158 3.4);
Tailwind
colors: {
custom: {
50: '#bb687e',
500: '#971f4d',
950: '#000000',
},
}SCSS
$custom: #971f4d; $custom-light: #bb687e; $custom-dark: #000000;
JSON
{
"hex": "#971f4d",
"rgb": {
"r": 151,
"g": 31,
"b": 77
},
"hsl": {
"h": 337,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.45322,
"c": 0.15788,
"h": 3.4
},
"luminance": 0.08095
}Semantic roles & 50–950 ramp
primary
#971F4D
secondary
#52BF96
accent
#E9A83F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B