#97227B#97227B
#97227B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.178 H 339.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #97227B |
|---|---|
| RGB | rgb(151, 34, 123) |
| HSL | hsl(314, 63%, 36%) |
| HSV | hsv(314, 77%, 59%) |
| CMYK | cmyk(0%, 77.5%, 18.5%, 40.8%) |
| CIE-LAB | lab(36.28, 55.87, -22.81) |
| CIE-LCH | lch(36.28, 60.34, 337.79°) |
| OKLab | oklab(47.43% 0.1665 -0.0617) |
| OKLCH | oklch(47.43% 0.178 339.7) |
| XYZ | xyz(16.9101, 9.1551, 19.6116) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.38
Red Violet
#9E0168
ΔE00 4.87
Barney Purple
#A00498
ΔE00 5.79
Darkmagenta
#8B008B
ΔE00 6.53
Light Eggplant
#894585
ΔE00 6.87
Bruise
#7E4071
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97227B #22973E
analogous
#792297 #97227B #972241
triadic
#97227B #7B9722 #227B97
tetradic
#97227B #977922 #22973E #224197
square
#97227B #977922 #22973E #224197
split-complementary
#97227B #419722 #229779
monochromatic
#330C2A #651752 #97227B #C92DA4 #DA5ABB
Accessibility & contrast
On white
7.42
#97227B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#97227B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97227B
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97227B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97227B | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4A7D
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#A0274C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #97227b; /* rgb */ color: rgb(151, 34, 123); /* oklch */ color: oklch(47.4% 0.178 339.7);
Tailwind
colors: {
custom: {
50: '#b96aa1',
500: '#97227b',
950: '#000000',
},
}SCSS
$custom: #97227b; $custom-light: #b96aa1; $custom-dark: #000000;
JSON
{
"hex": "#97227b",
"rgb": {
"r": 151,
"g": 34,
"b": 123
},
"hsl": {
"h": 314.359,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.47427,
"c": 0.1776,
"h": 339.7
},
"luminance": 0.09153
}Semantic roles & 50–950 ramp
primary
#97227B
secondary
#57BE6F
accent
#E66942
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E