#971E52#971E52
#971E52 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.160 H 0.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #971E52 |
|---|---|
| RGB | rgb(151, 30, 82) |
| HSL | hsl(334, 67%, 35%) |
| HSV | hsv(334, 80%, 59%) |
| CMYK | cmyk(0%, 80.1%, 45.7%, 40.8%) |
| CIE-LAB | lab(34.23, 52.19, 0.23) |
| CIE-LCH | lch(34.23, 52.19, 0.25°) |
| OKLab | oklab(45.4% 0.1604 0.0012) |
| OKLCH | oklch(45.4% 0.16 0.4) |
| XYZ | xyz(14.7509, 8.1190, 8.7714) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.98
Mulberry
#920A4E
ΔE00 2.41
Violet Red
#A50055
ΔE00 2.74
Dark Fuchsia
#9D0759
ΔE00 2.87
Reddish Purple
#910951
ΔE00 3.00
Purple Red
#990147
ΔE00 3.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971E52 #1E9763
analogous
#971E8E #971E52 #97261E
triadic
#971E52 #52971E #1E5297
tetradic
#971E52 #8E971E #1E9763 #261E97
square
#971E52 #8E971E #1E9763 #261E97
split-complementary
#971E52 #1E9726 #1E8E97
monochromatic
#310A1B #641436 #971E52 #CA286E #DD538E
Accessibility & contrast
On white
8.00
#971E52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#971E52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971E52
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971E52 | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#5B594F
Tritanopia (blue-blind)
#A40135
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #971e52; /* rgb */ color: rgb(151, 30, 82); /* oklch */ color: oklch(45.4% 0.160 0.4);
Tailwind
colors: {
custom: {
50: '#bb6782',
500: '#971e52',
950: '#000000',
},
}SCSS
$custom: #971e52; $custom-light: #bb6782; $custom-dark: #000000;
JSON
{
"hex": "#971e52",
"rgb": {
"r": 151,
"g": 30,
"b": 82
},
"hsl": {
"h": 334.215,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.45404,
"c": 0.16037,
"h": 0.4
},
"luminance": 0.08117
}Semantic roles & 50–950 ramp
primary
#971E52
secondary
#51C090
accent
#EAA03E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C