#97227D#97227D
#97227D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.179 H 338.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #97227D |
|---|---|
| RGB | rgb(151, 34, 125) |
| HSL | hsl(313, 63%, 36%) |
| HSV | hsv(313, 77%, 59%) |
| CMYK | cmyk(0%, 77.5%, 17.2%, 40.8%) |
| CIE-LAB | lab(36.38, 56.15, -23.91) |
| CIE-LCH | lch(36.38, 61.03, 336.94°) |
| OKLab | oklab(47.53% 0.1668 -0.0648) |
| OKLCH | oklch(47.53% 0.179 338.8) |
| XYZ | xyz(17.0366, 9.2057, 20.2777) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.97
Red Violet
#9E0168
ΔE00 5.26
Barney Purple
#A00498
ΔE00 5.38
Darkmagenta
#8B008B
ΔE00 6.19
Light Eggplant
#894585
ΔE00 6.75
Purple
#800080
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97227D #22973C
analogous
#772297 #97227D #972243
triadic
#97227D #7D9722 #227D97
tetradic
#97227D #977722 #22973C #224397
square
#97227D #977722 #22973C #224397
split-complementary
#97227D #439722 #229777
monochromatic
#330C2A #651754 #97227D #C92DA6 #DA5ABD
Accessibility & contrast
On white
7.39
#97227D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#97227D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97227D
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97227D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97227D | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294A7F
Deuteranopia (green-blind)
#505C7A
Tritanopia (blue-blind)
#A0284D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #97227d; /* rgb */ color: rgb(151, 34, 125); /* oklch */ color: oklch(47.5% 0.179 338.8);
Tailwind
colors: {
custom: {
50: '#b96aa3',
500: '#97227d',
950: '#000000',
},
}SCSS
$custom: #97227d; $custom-light: #b96aa3; $custom-dark: #000000;
JSON
{
"hex": "#97227d",
"rgb": {
"r": 151,
"g": 34,
"b": 125
},
"hsl": {
"h": 313.333,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.47528,
"c": 0.17894,
"h": 338.8
},
"luminance": 0.09204
}Semantic roles & 50–950 ramp
primary
#97227D
secondary
#57BE6E
accent
#E66642
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F