#97254F#97254F
#97254F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.152 H 3.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #97254F |
|---|---|
| RGB | rgb(151, 37, 79) |
| HSL | hsl(338, 61%, 37%) |
| HSV | hsv(338, 75%, 59%) |
| CMYK | cmyk(0%, 75.5%, 47.7%, 40.8%) |
| CIE-LAB | lab(34.94, 49.64, 3.20) |
| CIE-LCH | lch(34.94, 49.75, 3.69°) |
| OKLab | oklab(45.9% 0.152 0.0087) |
| OKLCH | oklch(45.9% 0.152 3.3) |
| XYZ | xyz(14.8366, 8.4689, 8.2490) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.28
Purple Red
#990147
ΔE00 3.13
Violet Red
#A50055
ΔE00 3.72
Mulberry
#920A4E
ΔE00 3.87
Dark Fuchsia
#9D0759
ΔE00 4.59
Reddish Purple
#910951
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97254F #25976D
analogous
#972588 #97254F #973425
triadic
#97254F #4F9725 #254F97
tetradic
#97254F #889725 #25976D #342597
square
#97254F #889725 #25976D #342597
split-complementary
#97254F #259734 #258897
monochromatic
#350D1C #661935 #97254F #C83169 #D85F8B
Accessibility & contrast
On white
7.80
#97254F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#97254F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97254F
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97254F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97254F | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404450
Deuteranopia (green-blind)
#5E5A4C
Tritanopia (blue-blind)
#A40E37
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #97254f; /* rgb */ color: rgb(151, 37, 79); /* oklch */ color: oklch(45.9% 0.152 3.3);
Tailwind
colors: {
custom: {
50: '#bb6a80',
500: '#97254f',
950: '#000000',
},
}SCSS
$custom: #97254f; $custom-light: #bb6a80; $custom-dark: #000000;
JSON
{
"hex": "#97254f",
"rgb": {
"r": 151,
"g": 37,
"b": 79
},
"hsl": {
"h": 337.895,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.45898,
"c": 0.15228,
"h": 3.3
},
"luminance": 0.08467
}Semantic roles & 50–950 ramp
primary
#97254F
secondary
#5BBD99
accent
#E4A944
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C