#972281#972281
#972281 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.182 H 337.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #972281 |
|---|---|
| RGB | rgb(151, 34, 129) |
| HSL | hsl(311, 63%, 36%) |
| HSV | hsv(311, 77%, 59%) |
| CMYK | cmyk(0%, 77.5%, 14.6%, 40.8%) |
| CIE-LAB | lab(36.57, 56.73, -26.09) |
| CIE-LCH | lch(36.57, 62.44, 335.30°) |
| OKLab | oklab(47.73% 0.1672 -0.071) |
| OKLCH | oklch(47.73% 0.182 337) |
| XYZ | xyz(17.2973, 9.3100, 21.6507) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.19
Barney Purple
#A00498
ΔE00 4.59
Darkmagenta
#8B008B
ΔE00 5.57
Red Violet
#9E0168
ΔE00 6.04
Light Eggplant
#894585
ΔE00 6.61
Purple
#800080
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972281 #229738
analogous
#732297 #972281 #972247
triadic
#972281 #819722 #228197
tetradic
#972281 #977322 #229738 #224797
square
#972281 #977322 #229738 #224797
split-complementary
#972281 #479722 #229773
monochromatic
#330C2C #651756 #972281 #C92DAC #DA5AC2
Accessibility & contrast
On white
7.34
#972281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#972281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972281
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972281 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#4F5C7E
Tritanopia (blue-blind)
#9F2A50
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972281; /* rgb */ color: rgb(151, 34, 129); /* oklch */ color: oklch(47.7% 0.182 337.0);
Tailwind
colors: {
custom: {
50: '#b96ba6',
500: '#972281',
950: '#000000',
},
}SCSS
$custom: #972281; $custom-light: #b96ba6; $custom-dark: #000000;
JSON
{
"hex": "#972281",
"rgb": {
"r": 151,
"g": 34,
"b": 129
},
"hsl": {
"h": 311.282,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.47734,
"c": 0.18169,
"h": 337
},
"luminance": 0.09308
}Semantic roles & 50–950 ramp
primary
#972281
secondary
#57BE6A
accent
#E66142
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F