#97227F#97227F
#97227F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.180 H 337.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #97227F |
|---|---|
| RGB | rgb(151, 34, 127) |
| HSL | hsl(312, 63%, 36%) |
| HSV | hsv(312, 77%, 59%) |
| CMYK | cmyk(0%, 77.5%, 15.9%, 40.8%) |
| CIE-LAB | lab(36.48, 56.44, -25.00) |
| CIE-LCH | lch(36.48, 61.73, 336.11°) |
| OKLab | oklab(47.63% 0.167 -0.0679) |
| OKLCH | oklch(47.63% 0.18 337.9) |
| XYZ | xyz(17.1657, 9.2573, 20.9574) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.58
Barney Purple
#A00498
ΔE00 4.98
Red Violet
#9E0168
ΔE00 5.65
Darkmagenta
#8B008B
ΔE00 5.87
Light Eggplant
#894585
ΔE00 6.67
Purple
#800080
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97227F #22973A
analogous
#752297 #97227F #972245
triadic
#97227F #7F9722 #227F97
tetradic
#97227F #977522 #22973A #224597
square
#97227F #977522 #22973A #224597
split-complementary
#97227F #459722 #229775
monochromatic
#330C2B #651755 #97227F #C92DA9 #DA5ABF
Accessibility & contrast
On white
7.37
#97227F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#97227F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97227F
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97227F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97227F | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274A81
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#A0294E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #97227f; /* rgb */ color: rgb(151, 34, 127); /* oklch */ color: oklch(47.6% 0.180 337.9);
Tailwind
colors: {
custom: {
50: '#b96aa4',
500: '#97227f',
950: '#000000',
},
}SCSS
$custom: #97227f; $custom-light: #b96aa4; $custom-dark: #000000;
JSON
{
"hex": "#97227f",
"rgb": {
"r": 151,
"g": 34,
"b": 127
},
"hsl": {
"h": 312.308,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.4763,
"c": 0.1803,
"h": 337.9
},
"luminance": 0.09256
}Semantic roles & 50–950 ramp
primary
#97227F
secondary
#57BE6C
accent
#E66342
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F