#97255C#97255C
#97255C is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.157 H 355.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #97255C |
|---|---|
| RGB | rgb(151, 37, 92) |
| HSL | hsl(331, 61%, 37%) |
| HSV | hsv(331, 75%, 59%) |
| CMYK | cmyk(0%, 75.5%, 39.1%, 40.8%) |
| CIE-LAB | lab(35.35, 50.97, -4.57) |
| CIE-LCH | lch(35.35, 51.17, 354.87°) |
| OKLab | oklab(46.34% 0.1565 -0.0114) |
| OKLCH | oklch(46.34% 0.157 355.8) |
| XYZ | xyz(15.3569, 8.6771, 10.9893) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.55
Deep Magenta
#A0025C
ΔE00 2.83
Dark Magenta
#960056
ΔE00 3.31
Reddish Purple
#910951
ΔE00 3.49
Mulberry
#920A4E
ΔE00 3.70
Violet Red
#A50055
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97255C #259760
analogous
#972595 #97255C #972725
triadic
#97255C #5C9725 #255C97
tetradic
#97255C #959725 #259760 #272597
square
#97255C #959725 #259760 #272597
split-complementary
#97255C #259727 #259597
monochromatic
#350D20 #66193E #97255C #C8317A #D85F99
Accessibility & contrast
On white
7.68
#97255C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#97255C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97255C
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97255C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97255C | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C465D
Deuteranopia (green-blind)
#5B5B59
Tritanopia (blue-blind)
#A3173D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #97255c; /* rgb */ color: rgb(151, 37, 92); /* oklch */ color: oklch(46.3% 0.157 355.8);
Tailwind
colors: {
custom: {
50: '#ba6a8a',
500: '#97255c',
950: '#000000',
},
}SCSS
$custom: #97255c; $custom-light: #ba6a8a; $custom-dark: #000000;
JSON
{
"hex": "#97255c",
"rgb": {
"r": 151,
"g": 37,
"b": 92
},
"hsl": {
"h": 331.053,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.46337,
"c": 0.15689,
"h": 355.8
},
"luminance": 0.08675
}Semantic roles & 50–950 ramp
primary
#97255C
secondary
#5BBD8E
accent
#E49744
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070B
muted
#817A7C