#97285F#97285F
#97285F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.155 H 354.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #97285F |
|---|---|
| RGB | rgb(151, 40, 95) |
| HSL | hsl(330, 58%, 37%) |
| HSV | hsv(330, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 37.1%, 40.8%) |
| CIE-LAB | lab(35.84, 50.24, -5.78) |
| CIE-LCH | lch(35.84, 50.57, 353.44°) |
| OKLab | oklab(46.73% 0.154 -0.0146) |
| OKLCH | oklch(46.73% 0.155 354.6) |
| XYZ | xyz(15.5878, 8.9250, 11.7261) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 3.05
Deep Magenta
#A0025C
ΔE00 3.17
Dark Magenta
#960056
ΔE00 3.77
Reddish Purple
#910951
ΔE00 4.08
Violet Red
#A50055
ΔE00 4.36
Mulberry
#920A4E
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97285F #289760
analogous
#972897 #97285F #972828
triadic
#97285F #5F9728 #285F97
tetradic
#97285F #979728 #289760 #282897
square
#97285F #979728 #289760 #282897
split-complementary
#97285F #289728 #289797
monochromatic
#360E22 #671B41 #97285F #C7357D #D6649C
Accessibility & contrast
On white
7.54
#97285F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#97285F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97285F
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97285F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97285F | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4760
Deuteranopia (green-blind)
#5C5C5C
Tritanopia (blue-blind)
#A31D40
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #97285f; /* rgb */ color: rgb(151, 40, 95); /* oklch */ color: oklch(46.7% 0.155 354.6);
Tailwind
colors: {
custom: {
50: '#ba6c8c',
500: '#97285f',
950: '#000000',
},
}SCSS
$custom: #97285f; $custom-light: #ba6c8c; $custom-dark: #000000;
JSON
{
"hex": "#97285f",
"rgb": {
"r": 151,
"g": 40,
"b": 95
},
"hsl": {
"h": 330.27,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.46727,
"c": 0.15472,
"h": 354.6
},
"luminance": 0.08923
}Semantic roles & 50–950 ramp
primary
#97285F
secondary
#5FBC8E
accent
#E19546
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D