#972148#972148
#972148 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.155 H 6.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #972148 |
|---|---|
| RGB | rgb(151, 33, 72) |
| HSL | hsl(340, 64%, 36%) |
| HSV | hsv(340, 78%, 59%) |
| CMYK | cmyk(0%, 78.1%, 52.3%, 40.8%) |
| CIE-LAB | lab(34.27, 50.36, 6.78) |
| CIE-LCH | lch(34.27, 50.82, 7.67°) |
| OKLab | oklab(45.34% 0.1537 0.0176) |
| OKLCH | oklch(45.34% 0.155 6.5) |
| XYZ | xyz(14.4774, 8.1369, 6.9379) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.61
Purple Red
#990147
ΔE00 2.84
Cranberry
#9E003A
ΔE00 4.20
Purplish Red
#B0054B
ΔE00 4.55
Raspberry (survey)
#B00149
ΔE00 4.64
Violet Red
#A50055
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972148 #219770
analogous
#972183 #972148 #973521
triadic
#972148 #489721 #214897
tetradic
#972148 #839721 #219770 #352197
square
#972148 #839721 #219770 #352197
split-complementary
#972148 #219735 #218397
monochromatic
#330B18 #651630 #972148 #C92C60 #DA5883
Accessibility & contrast
On white
7.99
#972148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#972148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972148
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972148 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4249
Deuteranopia (green-blind)
#5E5945
Tritanopia (blue-blind)
#A50032
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #972148; /* rgb */ color: rgb(151, 33, 72); /* oklch */ color: oklch(45.3% 0.155 6.5);
Tailwind
colors: {
custom: {
50: '#bb687a',
500: '#972148',
950: '#000000',
},
}SCSS
$custom: #972148; $custom-light: #bb687a; $custom-dark: #000000;
JSON
{
"hex": "#972148",
"rgb": {
"r": 151,
"g": 33,
"b": 72
},
"hsl": {
"h": 340.169,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.45336,
"c": 0.15471,
"h": 6.5
},
"luminance": 0.08135
}Semantic roles & 50–950 ramp
primary
#972148
secondary
#55BE9C
accent
#E7B041
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B