#972178#972178
#972178 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.177 H 341.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #972178 |
|---|---|
| RGB | rgb(151, 33, 120) |
| HSL | hsl(316, 64%, 36%) |
| HSV | hsv(316, 78%, 59%) |
| CMYK | cmyk(0%, 78.1%, 20.5%, 40.8%) |
| CIE-LAB | lab(36.03, 55.75, -21.32) |
| CIE-LCH | lch(36.03, 59.69, 339.08°) |
| OKLab | oklab(47.2% 0.1671 -0.0574) |
| OKLCH | oklch(47.2% 0.177 341) |
| XYZ | xyz(16.6971, 9.0248, 18.6283) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.27
Warm Purple
#952E8F
ΔE00 5.02
Barney Purple
#A00498
ΔE00 6.36
Darkmagenta
#8B008B
ΔE00 6.98
Light Eggplant
#894585
ΔE00 7.18
Bruise
#7E4071
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972178 #219740
analogous
#7B2197 #972178 #97213D
triadic
#972178 #789721 #217897
tetradic
#972178 #977B21 #219740 #213D97
square
#972178 #977B21 #219740 #213D97
split-complementary
#972178 #3D9721 #21977B
monochromatic
#330B28 #651650 #972178 #C92CA0 #DA58B8
Accessibility & contrast
On white
7.49
#972178 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#972178 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972178
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972178 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972178 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B497A
Deuteranopia (green-blind)
#525B75
Tritanopia (blue-blind)
#A0244A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #972178; /* rgb */ color: rgb(151, 33, 120); /* oklch */ color: oklch(47.2% 0.177 341.0);
Tailwind
colors: {
custom: {
50: '#b96a9f',
500: '#972178',
950: '#000000',
},
}SCSS
$custom: #972178; $custom-light: #b96a9f; $custom-dark: #000000;
JSON
{
"hex": "#972178",
"rgb": {
"r": 151,
"g": 33,
"b": 120
},
"hsl": {
"h": 315.763,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.47201,
"c": 0.17666,
"h": 341
},
"luminance": 0.09023
}Semantic roles & 50–950 ramp
primary
#972178
secondary
#55BE71
accent
#E76C41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E