#972280#972280
#972280 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.181 H 337.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #972280 |
|---|---|
| RGB | rgb(151, 34, 128) |
| HSL | hsl(312, 63%, 36%) |
| HSV | hsv(312, 77%, 59%) |
| CMYK | cmyk(0%, 77.5%, 15.2%, 40.8%) |
| CIE-LAB | lab(36.52, 56.59, -25.55) |
| CIE-LCH | lch(36.52, 62.08, 335.70°) |
| OKLab | oklab(47.68% 0.1671 -0.0695) |
| OKLCH | oklch(47.68% 0.181 337.4) |
| XYZ | xyz(17.2312, 9.2835, 21.3023) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.38
Barney Purple
#A00498
ΔE00 4.78
Darkmagenta
#8B008B
ΔE00 5.72
Red Violet
#9E0168
ΔE00 5.85
Light Eggplant
#894585
ΔE00 6.63
Purple
#800080
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972280 #229739
analogous
#742297 #972280 #972246
triadic
#972280 #809722 #228097
tetradic
#972280 #977422 #229739 #224697
square
#972280 #977422 #229739 #224697
split-complementary
#972280 #469722 #229774
monochromatic
#330C2B #651756 #972280 #C92DAA #DA5AC1
Accessibility & contrast
On white
7.35
#972280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#972280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972280
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972280 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264B83
Deuteranopia (green-blind)
#4F5C7D
Tritanopia (blue-blind)
#9F294F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972280; /* rgb */ color: rgb(151, 34, 128); /* oklch */ color: oklch(47.7% 0.181 337.4);
Tailwind
colors: {
custom: {
50: '#b96ba5',
500: '#972280',
950: '#000000',
},
}SCSS
$custom: #972280; $custom-light: #b96ba5; $custom-dark: #000000;
JSON
{
"hex": "#972280",
"rgb": {
"r": 151,
"g": 34,
"b": 128
},
"hsl": {
"h": 311.795,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.47682,
"c": 0.18099,
"h": 337.4
},
"luminance": 0.09282
}Semantic roles & 50–950 ramp
primary
#972280
secondary
#57BE6B
accent
#E66242
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F