#97227E#97227E
#97227E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.180 H 338.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #97227E |
|---|---|
| RGB | rgb(151, 34, 126) |
| HSL | hsl(313, 63%, 36%) |
| HSV | hsv(313, 77%, 59%) |
| CMYK | cmyk(0%, 77.5%, 16.6%, 40.8%) |
| CIE-LAB | lab(36.43, 56.29, -24.45) |
| CIE-LCH | lch(36.43, 61.38, 336.52°) |
| OKLab | oklab(47.58% 0.1669 -0.0664) |
| OKLCH | oklch(47.58% 0.18 338.3) |
| XYZ | xyz(17.1008, 9.2314, 20.6158) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.77
Barney Purple
#A00498
ΔE00 5.18
Red Violet
#9E0168
ΔE00 5.46
Darkmagenta
#8B008B
ΔE00 6.03
Light Eggplant
#894585
ΔE00 6.71
Purple
#800080
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97227E #22973B
analogous
#762297 #97227E #972244
triadic
#97227E #7E9722 #227E97
tetradic
#97227E #977622 #22973B #224497
square
#97227E #977622 #22973B #224497
split-complementary
#97227E #449722 #229776
monochromatic
#330C2B #651754 #97227E #C92DA8 #DA5ABE
Accessibility & contrast
On white
7.38
#97227E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#97227E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97227E
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97227E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97227E | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#A0284E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #97227e; /* rgb */ color: rgb(151, 34, 126); /* oklch */ color: oklch(47.6% 0.180 338.3);
Tailwind
colors: {
custom: {
50: '#b96aa3',
500: '#97227e',
950: '#000000',
},
}SCSS
$custom: #97227e; $custom-light: #b96aa3; $custom-dark: #000000;
JSON
{
"hex": "#97227e",
"rgb": {
"r": 151,
"g": 34,
"b": 126
},
"hsl": {
"h": 312.821,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.47579,
"c": 0.17962,
"h": 338.3
},
"luminance": 0.0923
}Semantic roles & 50–950 ramp
primary
#97227E
secondary
#57BE6D
accent
#E66542
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F