#97226E#97226E
#97226E is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.169 H 345.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #97226E |
|---|---|
| RGB | rgb(151, 34, 110) |
| HSL | hsl(321, 63%, 36%) |
| HSV | hsv(321, 77%, 59%) |
| CMYK | cmyk(0%, 77.5%, 27.2%, 40.8%) |
| CIE-LAB | lab(35.70, 54.11, -15.54) |
| CIE-LCH | lch(35.70, 56.30, 343.98°) |
| OKLab | oklab(46.81% 0.1643 -0.0412) |
| OKLCH | oklch(46.81% 0.169 345.9) |
| XYZ | xyz(16.1497, 8.8509, 15.6067) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.66
Deep Magenta
#A0025C
ΔE00 5.12
Dark Fuchsia
#9D0759
ΔE00 5.49
Dark Magenta
#960056
ΔE00 5.58
Reddish Purple
#910951
ΔE00 6.51
Bruise
#7E4071
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97226E #22974B
analogous
#862297 #97226E #972234
triadic
#97226E #6E9722 #226E97
tetradic
#97226E #978622 #22974B #223497
square
#97226E #978622 #22974B #223497
split-complementary
#97226E #349722 #229786
monochromatic
#330C25 #65174A #97226E #C92D92 #DA5AAD
Accessibility & contrast
On white
7.58
#97226E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#97226E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97226E
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97226E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97226E | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324770
Deuteranopia (green-blind)
#555B6B
Tritanopia (blue-blind)
#A21F45
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #97226e; /* rgb */ color: rgb(151, 34, 110); /* oklch */ color: oklch(46.8% 0.169 345.9);
Tailwind
colors: {
custom: {
50: '#ba6a97',
500: '#97226e',
950: '#000000',
},
}SCSS
$custom: #97226e; $custom-light: #ba6a97; $custom-dark: #000000;
JSON
{
"hex": "#97226e",
"rgb": {
"r": 151,
"g": 34,
"b": 110
},
"hsl": {
"h": 321.026,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.46812,
"c": 0.16942,
"h": 345.9
},
"luminance": 0.08849
}Semantic roles & 50–950 ramp
primary
#97226E
secondary
#57BE7B
accent
#E67B42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E