#972279#972279
#972279 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.176 H 340.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #972279 |
|---|---|
| RGB | rgb(151, 34, 121) |
| HSL | hsl(315, 63%, 36%) |
| HSV | hsv(315, 77%, 59%) |
| CMYK | cmyk(0%, 77.5%, 19.9%, 40.8%) |
| CIE-LAB | lab(36.19, 55.58, -21.70) |
| CIE-LCH | lch(36.19, 59.67, 338.67°) |
| OKLab | oklab(47.33% 0.1663 -0.0585) |
| OKLCH | oklch(47.33% 0.176 340.6) |
| XYZ | xyz(16.7862, 9.1055, 18.9590) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.48
Warm Purple
#952E8F
ΔE00 4.80
Barney Purple
#A00498
ΔE00 6.20
Darkmagenta
#8B008B
ΔE00 6.89
Light Eggplant
#894585
ΔE00 7.01
Bruise
#7E4071
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972279 #229740
analogous
#7B2297 #972279 #97223F
triadic
#972279 #799722 #227997
tetradic
#972279 #977B22 #229740 #223F97
square
#972279 #977B22 #229740 #223F97
split-complementary
#972279 #3F9722 #22977B
monochromatic
#330C29 #651751 #972279 #C92DA1 #DA5AB9
Accessibility & contrast
On white
7.44
#972279 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#972279 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972279
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972279 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972279 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#525C76
Tritanopia (blue-blind)
#A0254B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #972279; /* rgb */ color: rgb(151, 34, 121); /* oklch */ color: oklch(47.3% 0.176 340.6);
Tailwind
colors: {
custom: {
50: '#b96aa0',
500: '#972279',
950: '#000000',
},
}SCSS
$custom: #972279; $custom-light: #b96aa0; $custom-dark: #000000;
JSON
{
"hex": "#972279",
"rgb": {
"r": 151,
"g": 34,
"b": 121
},
"hsl": {
"h": 315.385,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.47328,
"c": 0.17626,
"h": 340.6
},
"luminance": 0.09104
}Semantic roles & 50–950 ramp
primary
#972279
secondary
#57BE71
accent
#E66C42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E