#97226C#97226C
#97226C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.168 H 346.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #97226C |
|---|---|
| RGB | rgb(151, 34, 108) |
| HSL | hsl(322, 63%, 36%) |
| HSV | hsv(322, 77%, 59%) |
| CMYK | cmyk(0%, 77.5%, 28.5%, 40.8%) |
| CIE-LAB | lab(35.61, 53.85, -14.40) |
| CIE-LCH | lch(35.61, 55.75, 345.03°) |
| OKLab | oklab(46.72% 0.1639 -0.0381) |
| OKLCH | oklch(46.72% 0.168 346.9) |
| XYZ | xyz(16.0421, 8.8079, 15.0397) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.47
Deep Magenta
#A0025C
ΔE00 4.69
Dark Fuchsia
#9D0759
ΔE00 5.05
Dark Magenta
#960056
ΔE00 5.17
Reddish Purple
#910951
ΔE00 6.08
Mulberry
#920A4E
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97226C #22974D
analogous
#882297 #97226C #972232
triadic
#97226C #6C9722 #226C97
tetradic
#97226C #978822 #22974D #223297
square
#97226C #978822 #22974D #223297
split-complementary
#97226C #329722 #229788
monochromatic
#330C25 #651748 #97226C #C92D90 #DA5AAB
Accessibility & contrast
On white
7.61
#97226C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#97226C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97226C
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97226C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97226C | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33476E
Deuteranopia (green-blind)
#565B69
Tritanopia (blue-blind)
#A21E44
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #97226c; /* rgb */ color: rgb(151, 34, 108); /* oklch */ color: oklch(46.7% 0.168 346.9);
Tailwind
colors: {
custom: {
50: '#ba6a96',
500: '#97226c',
950: '#000000',
},
}SCSS
$custom: #97226c; $custom-light: #ba6a96; $custom-dark: #000000;
JSON
{
"hex": "#97226c",
"rgb": {
"r": 151,
"g": 34,
"b": 108
},
"hsl": {
"h": 322.051,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.46724,
"c": 0.16826,
"h": 346.9
},
"luminance": 0.08806
}Semantic roles & 50–950 ramp
primary
#97226C
secondary
#57BE7D
accent
#E67E42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E