#97257E#97257E
#97257E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.176 H 338.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #97257E |
|---|---|
| RGB | rgb(151, 37, 126) |
| HSL | hsl(313, 61%, 37%) |
| HSV | hsv(313, 75%, 59%) |
| CMYK | cmyk(0%, 75.5%, 16.6%, 40.8%) |
| CIE-LAB | lab(36.76, 55.34, -23.93) |
| CIE-LCH | lch(36.76, 60.29, 336.61°) |
| OKLab | oklab(47.82% 0.164 -0.0649) |
| OKLCH | oklch(47.82% 0.176 338.4) |
| XYZ | xyz(17.1904, 9.4104, 20.6457) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.73
Barney Purple
#A00498
ΔE00 5.38
Red Violet
#9E0168
ΔE00 5.51
Darkmagenta
#8B008B
ΔE00 6.35
Light Eggplant
#894585
ΔE00 6.39
Bruise
#7E4071
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97257E #25973E
analogous
#772597 #97257E #972545
triadic
#97257E #7E9725 #257E97
tetradic
#97257E #977725 #25973E #254597
square
#97257E #977725 #25973E #254597
split-complementary
#97257E #459725 #259777
monochromatic
#350D2C #661955 #97257E #C831A7 #D85FBD
Accessibility & contrast
On white
7.29
#97257E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#97257E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97257E
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97257E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97257E | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A02B4F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #97257e; /* rgb */ color: rgb(151, 37, 126); /* oklch */ color: oklch(47.8% 0.176 338.4);
Tailwind
colors: {
custom: {
50: '#b96ca3',
500: '#97257e',
950: '#000000',
},
}SCSS
$custom: #97257e; $custom-light: #b96ca3; $custom-dark: #000000;
JSON
{
"hex": "#97257e",
"rgb": {
"r": 151,
"g": 37,
"b": 126
},
"hsl": {
"h": 313.158,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.47822,
"c": 0.17639,
"h": 338.4
},
"luminance": 0.09409
}Semantic roles & 50–950 ramp
primary
#97257E
secondary
#5BBD70
accent
#E46744
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F