#97237C#97237C
#97237C is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.177 H 339.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #97237C |
|---|---|
| RGB | rgb(151, 35, 124) |
| HSL | hsl(314, 62%, 36%) |
| HSV | hsv(314, 77%, 59%) |
| CMYK | cmyk(0%, 76.8%, 17.9%, 40.8%) |
| CIE-LAB | lab(36.44, 55.69, -23.19) |
| CIE-LCH | lch(36.44, 60.33, 337.40°) |
| OKLab | oklab(47.56% 0.1657 -0.0628) |
| OKLCH | oklch(47.56% 0.177 339.3) |
| XYZ | xyz(17.0021, 9.2383, 19.9526) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.16
Red Violet
#9E0168
ΔE00 5.08
Barney Purple
#A00498
ΔE00 5.64
Darkmagenta
#8B008B
ΔE00 6.46
Light Eggplant
#894585
ΔE00 6.71
Bruise
#7E4071
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97237C #23973E
analogous
#782397 #97237C #972342
triadic
#97237C #7C9723 #237C97
tetradic
#97237C #977823 #23973E #234297
square
#97237C #977823 #23973E #234297
split-complementary
#97237C #429723 #239778
monochromatic
#340C2A #651753 #97237C #C92FA5 #D95BBC
Accessibility & contrast
On white
7.38
#97237C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#97237C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97237C
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97237C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97237C | 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)
#2A4A7E
Deuteranopia (green-blind)
#515C79
Tritanopia (blue-blind)
#A0284D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #97237c; /* rgb */ color: rgb(151, 35, 124); /* oklch */ color: oklch(47.6% 0.177 339.3);
Tailwind
colors: {
custom: {
50: '#b96ba2',
500: '#97237c',
950: '#000000',
},
}SCSS
$custom: #97237c; $custom-light: #b96ba2; $custom-dark: #000000;
JSON
{
"hex": "#97237c",
"rgb": {
"r": 151,
"g": 35,
"b": 124
},
"hsl": {
"h": 313.966,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.47557,
"c": 0.17721,
"h": 339.3
},
"luminance": 0.09237
}Semantic roles & 50–950 ramp
primary
#97237C
secondary
#58BE70
accent
#E56842
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F