#972274#972274
#972274 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.173 H 343.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #972274 |
|---|---|
| RGB | rgb(151, 34, 116) |
| HSL | hsl(318, 63%, 36%) |
| HSV | hsv(318, 77%, 59%) |
| CMYK | cmyk(0%, 77.5%, 23.2%, 40.8%) |
| CIE-LAB | lab(35.96, 54.90, -18.92) |
| CIE-LCH | lch(35.96, 58.07, 340.98°) |
| OKLab | oklab(47.09% 0.1655 -0.0507) |
| OKLCH | oklch(47.09% 0.173 343) |
| XYZ | xyz(16.4875, 8.9861, 17.3858) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.56
Warm Purple
#952E8F
ΔE00 5.89
Deep Magenta
#A0025C
ΔE00 6.40
Dark Fuchsia
#9D0759
ΔE00 6.82
Dark Magenta
#960056
ΔE00 6.85
Bruise
#7E4071
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972274 #229745
analogous
#802297 #972274 #97223A
triadic
#972274 #749722 #227497
tetradic
#972274 #978022 #229745 #223A97
square
#972274 #978022 #229745 #223A97
split-complementary
#972274 #3A9722 #229780
monochromatic
#330C27 #65174E #972274 #C92D9A #DA5AB3
Accessibility & contrast
On white
7.51
#972274 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#972274 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972274
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972274 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972274 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4876
Deuteranopia (green-blind)
#545B71
Tritanopia (blue-blind)
#A12348
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #972274; /* rgb */ color: rgb(151, 34, 116); /* oklch */ color: oklch(47.1% 0.173 343.0);
Tailwind
colors: {
custom: {
50: '#b96a9c',
500: '#972274',
950: '#000000',
},
}SCSS
$custom: #972274; $custom-light: #b96a9c; $custom-dark: #000000;
JSON
{
"hex": "#972274",
"rgb": {
"r": 151,
"g": 34,
"b": 116
},
"hsl": {
"h": 317.949,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.47088,
"c": 0.17306,
"h": 343
},
"luminance": 0.08984
}Semantic roles & 50–950 ramp
primary
#972274
secondary
#57BE76
accent
#E67342
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E