#972381#972381
#972381 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.181 H 337.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #972381 |
|---|---|
| RGB | rgb(151, 35, 129) |
| HSL | hsl(311, 62%, 36%) |
| HSV | hsv(311, 77%, 59%) |
| CMYK | cmyk(0%, 76.8%, 14.6%, 40.8%) |
| CIE-LAB | lab(36.68, 56.42, -25.92) |
| CIE-LCH | lch(36.68, 62.09, 335.33°) |
| OKLab | oklab(47.81% 0.1663 -0.0705) |
| OKLCH | oklch(47.81% 0.181 337) |
| XYZ | xyz(17.3263, 9.3680, 21.6603) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.16
Barney Purple
#A00498
ΔE00 4.65
Darkmagenta
#8B008B
ΔE00 5.68
Red Violet
#9E0168
ΔE00 6.05
Light Eggplant
#894585
ΔE00 6.50
Purple
#800080
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972381 #239739
analogous
#732397 #972381 #972347
triadic
#972381 #819723 #238197
tetradic
#972381 #977323 #239739 #234797
square
#972381 #977323 #239739 #234797
split-complementary
#972381 #479723 #239773
monochromatic
#340C2C #651757 #972381 #C92FAB #D95BC1
Accessibility & contrast
On white
7.31
#972381 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#972381 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972381
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972381 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972381 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274B84
Deuteranopia (green-blind)
#4F5D7E
Tritanopia (blue-blind)
#9F2B50
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972381; /* rgb */ color: rgb(151, 35, 129); /* oklch */ color: oklch(47.8% 0.181 337.0);
Tailwind
colors: {
custom: {
50: '#b96ba6',
500: '#972381',
950: '#000000',
},
}SCSS
$custom: #972381; $custom-light: #b96ba6; $custom-dark: #000000;
JSON
{
"hex": "#972381",
"rgb": {
"r": 151,
"g": 35,
"b": 129
},
"hsl": {
"h": 311.379,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.47813,
"c": 0.18064,
"h": 337
},
"luminance": 0.09366
}Semantic roles & 50–950 ramp
primary
#972381
secondary
#58BE6B
accent
#E56142
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F