#971E7A#971E7A
#971E7A is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.181 H 340.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #971E7A |
|---|---|
| RGB | rgb(151, 30, 122) |
| HSL | hsl(314, 67%, 35%) |
| HSV | hsv(314, 80%, 59%) |
| CMYK | cmyk(0%, 80.1%, 19.2%, 40.8%) |
| CIE-LAB | lab(35.82, 56.91, -22.90) |
| CIE-LCH | lch(35.82, 61.35, 338.08°) |
| OKLab | oklab(47.08% 0.17 -0.0619) |
| OKLCH | oklch(47.08% 0.181 340) |
| XYZ | xyz(16.7401, 8.9147, 19.2477) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.63
Warm Purple
#952E8F
ΔE00 4.65
Barney Purple
#A00498
ΔE00 5.78
Darkmagenta
#8B008B
ΔE00 6.35
Purple
#800080
ΔE00 7.15
Darkish Purple
#751973
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971E7A #1E973B
analogous
#771E97 #971E7A #971E3D
triadic
#971E7A #7A971E #1E7A97
tetradic
#971E7A #97771E #1E973B #1E3D97
square
#971E7A #97771E #1E973B #1E3D97
split-complementary
#971E7A #3D971E #1E9777
monochromatic
#310A27 #641451 #971E7A #CA28A3 #DD53BC
Accessibility & contrast
On white
7.55
#971E7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#971E7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971E7A
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971E7A | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28487C
Deuteranopia (green-blind)
#505B77
Tritanopia (blue-blind)
#A0234B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971e7a; /* rgb */ color: rgb(151, 30, 122); /* oklch */ color: oklch(47.1% 0.181 340.0);
Tailwind
colors: {
custom: {
50: '#ba69a0',
500: '#971e7a',
950: '#000000',
},
}SCSS
$custom: #971e7a; $custom-light: #ba69a0; $custom-dark: #000000;
JSON
{
"hex": "#971e7a",
"rgb": {
"r": 151,
"g": 30,
"b": 122
},
"hsl": {
"h": 314.38,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.47079,
"c": 0.18093,
"h": 340
},
"luminance": 0.08913
}Semantic roles & 50–950 ramp
primary
#971E7A
secondary
#51C06C
accent
#EA673E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E