#97254C#97254C
#97254C is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.151 H 5.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #97254C |
|---|---|
| RGB | rgb(151, 37, 76) |
| HSL | hsl(339, 61%, 37%) |
| HSV | hsv(339, 75%, 59%) |
| CMYK | cmyk(0%, 75.5%, 49.7%, 40.8%) |
| CIE-LAB | lab(34.86, 49.37, 5.02) |
| CIE-LCH | lch(34.86, 49.62, 5.81°) |
| OKLab | oklab(45.81% 0.1509 0.0133) |
| OKLCH | oklch(45.81% 0.151 5) |
| XYZ | xyz(14.7298, 8.4262, 7.6869) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.52
Purple Red
#990147
ΔE00 3.11
Violet Red
#A50055
ΔE00 4.29
Mulberry
#920A4E
ΔE00 4.47
Purplish Red
#B0054B
ΔE00 4.82
Raspberry (survey)
#B00149
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97254C #259770
analogous
#972585 #97254C #973725
triadic
#97254C #4C9725 #254C97
tetradic
#97254C #859725 #259770 #372597
square
#97254C #859725 #259770 #372597
split-complementary
#97254C #259737 #258597
monochromatic
#350D1B #661933 #97254C #C83165 #D85F88
Accessibility & contrast
On white
7.82
#97254C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#97254C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97254C
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97254C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97254C | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40444D
Deuteranopia (green-blind)
#5E5A49
Tritanopia (blue-blind)
#A50C35
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #97254c; /* rgb */ color: rgb(151, 37, 76); /* oklch */ color: oklch(45.8% 0.151 5.0);
Tailwind
colors: {
custom: {
50: '#bb6a7d',
500: '#97254c',
950: '#000000',
},
}SCSS
$custom: #97254c; $custom-light: #bb6a7d; $custom-dark: #000000;
JSON
{
"hex": "#97254c",
"rgb": {
"r": 151,
"g": 37,
"b": 76
},
"hsl": {
"h": 339.474,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.45806,
"c": 0.15148,
"h": 5
},
"luminance": 0.08424
}Semantic roles & 50–950 ramp
primary
#97254C
secondary
#5BBD9B
accent
#E4AD44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B