#971F54#971F54
#971F54 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.160 H 359.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #971F54 |
|---|---|
| RGB | rgb(151, 31, 84) |
| HSL | hsl(334, 66%, 36%) |
| HSV | hsv(334, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 44.4%, 40.8%) |
| CIE-LAB | lab(34.40, 52.09, -0.82) |
| CIE-LCH | lch(34.40, 52.09, 359.09°) |
| OKLab | oklab(45.55% 0.1601 -0.0015) |
| OKLCH | oklch(45.55% 0.16 359.4) |
| XYZ | xyz(14.8539, 8.2013, 9.1866) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.45
Berry
#990F4B
ΔE00 2.46
Dark Fuchsia
#9D0759
ΔE00 2.55
Violet Red
#A50055
ΔE00 2.77
Reddish Purple
#910951
ΔE00 2.86
Deep Magenta
#A0025C
ΔE00 3.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F54 #1F9762
analogous
#971F90 #971F54 #97261F
triadic
#971F54 #54971F #1F5497
tetradic
#971F54 #90971F #1F9762 #261F97
square
#971F54 #90971F #1F9762 #261F97
split-complementary
#971F54 #1F9726 #1F9097
monochromatic
#310A1C #641538 #971F54 #CA2970 #DC5490
Accessibility & contrast
On white
7.96
#971F54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#971F54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F54
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F54 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4255
Deuteranopia (green-blind)
#5B5951
Tritanopia (blue-blind)
#A40537
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #971f54; /* rgb */ color: rgb(151, 31, 84); /* oklch */ color: oklch(45.5% 0.160 359.4);
Tailwind
colors: {
custom: {
50: '#bb6884',
500: '#971f54',
950: '#000000',
},
}SCSS
$custom: #971f54; $custom-light: #bb6884; $custom-dark: #000000;
JSON
{
"hex": "#971f54",
"rgb": {
"r": 151,
"g": 31,
"b": 84
},
"hsl": {
"h": 333.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.45549,
"c": 0.1601,
"h": 359.4
},
"luminance": 0.08199
}Semantic roles & 50–950 ramp
primary
#971F54
secondary
#52BF8F
accent
#E99E3F
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C