#971F79#971F79
#971F79 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.179 H 340.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #971F79 |
|---|---|
| RGB | rgb(151, 31, 121) |
| HSL | hsl(315, 66%, 36%) |
| HSV | hsv(315, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 19.9%, 40.8%) |
| CIE-LAB | lab(35.87, 56.49, -22.19) |
| CIE-LCH | lch(35.87, 60.69, 338.55°) |
| OKLab | oklab(47.1% 0.169 -0.0599) |
| OKLCH | oklch(47.1% 0.179 340.5) |
| XYZ | xyz(16.7042, 8.9415, 18.9316) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.44
Warm Purple
#952E8F
ΔE00 4.83
Barney Purple
#A00498
ΔE00 6.04
Darkmagenta
#8B008B
ΔE00 6.61
Light Eggplant
#894585
ΔE00 7.28
Purple
#800080
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F79 #1F973D
analogous
#791F97 #971F79 #971F3D
triadic
#971F79 #79971F #1F7997
tetradic
#971F79 #97791F #1F973D #1F3D97
square
#971F79 #97791F #1F973D #1F3D97
split-complementary
#971F79 #3D971F #1F9779
monochromatic
#310A28 #641550 #971F79 #CA29A2 #DC54BA
Accessibility & contrast
On white
7.53
#971F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#971F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F79
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F79 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29487B
Deuteranopia (green-blind)
#515B76
Tritanopia (blue-blind)
#A0234A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971f79; /* rgb */ color: rgb(151, 31, 121); /* oklch */ color: oklch(47.1% 0.179 340.5);
Tailwind
colors: {
custom: {
50: '#ba69a0',
500: '#971f79',
950: '#000000',
},
}SCSS
$custom: #971f79; $custom-light: #ba69a0; $custom-dark: #000000;
JSON
{
"hex": "#971f79",
"rgb": {
"r": 151,
"g": 31,
"b": 121
},
"hsl": {
"h": 315,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.47101,
"c": 0.17931,
"h": 340.5
},
"luminance": 0.0894
}Semantic roles & 50–950 ramp
primary
#971F79
secondary
#52BF6E
accent
#E9693F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E