#972278#972278
#972278 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.176 H 341.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #972278 |
|---|---|
| RGB | rgb(151, 34, 120) |
| HSL | hsl(316, 63%, 36%) |
| HSV | hsv(316, 77%, 59%) |
| CMYK | cmyk(0%, 77.5%, 20.5%, 40.8%) |
| CIE-LAB | lab(36.14, 55.45, -21.15) |
| CIE-LCH | lch(36.14, 59.34, 339.12°) |
| OKLab | oklab(47.28% 0.1661 -0.057) |
| OKLCH | oklch(47.28% 0.176 341.1) |
| XYZ | xyz(16.7252, 9.0811, 18.6377) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.29
Warm Purple
#952E8F
ΔE00 5.01
Barney Purple
#A00498
ΔE00 6.42
Darkmagenta
#8B008B
ΔE00 7.07
Light Eggplant
#894585
ΔE00 7.09
Bruise
#7E4071
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972278 #229741
analogous
#7C2297 #972278 #97223E
triadic
#972278 #789722 #227897
tetradic
#972278 #977C22 #229741 #223E97
square
#972278 #977C22 #229741 #223E97
split-complementary
#972278 #3E9722 #22977C
monochromatic
#330C29 #651750 #972278 #C92DA0 #DA5AB8
Accessibility & contrast
On white
7.46
#972278 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#972278 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972278
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972278 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972278 | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C497A
Deuteranopia (green-blind)
#525C75
Tritanopia (blue-blind)
#A0254B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #972278; /* rgb */ color: rgb(151, 34, 120); /* oklch */ color: oklch(47.3% 0.176 341.1);
Tailwind
colors: {
custom: {
50: '#b96a9f',
500: '#972278',
950: '#000000',
},
}SCSS
$custom: #972278; $custom-light: #b96a9f; $custom-dark: #000000;
JSON
{
"hex": "#972278",
"rgb": {
"r": 151,
"g": 34,
"b": 120
},
"hsl": {
"h": 315.897,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.47279,
"c": 0.17562,
"h": 341.1
},
"luminance": 0.09079
}Semantic roles & 50–950 ramp
primary
#972278
secondary
#57BE72
accent
#E66D42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E