#981748#981748
#981748 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.164 H 5.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #981748 |
|---|---|
| RGB | rgb(152, 23, 72) |
| HSL | hsl(337, 74%, 34%) |
| HSV | hsv(337, 85%, 60%) |
| CMYK | cmyk(0%, 84.9%, 52.6%, 40.4%) |
| CIE-LAB | lab(33.47, 53.46, 5.69) |
| CIE-LCH | lch(33.47, 53.76, 6.07°) |
| OKLab | oklab(44.79% 0.1636 0.0149) |
| OKLCH | oklch(44.79% 0.164 5.2) |
| XYZ | xyz(14.4263, 7.7582, 6.8675) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.39
Purple Red
#990147
ΔE00 1.53
Mulberry
#920A4E
ΔE00 3.76
Violet Red
#A50055
ΔE00 3.83
Cranberry
#9E003A
ΔE00 4.38
Purplish Red
#B0054B
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981748 #179867
analogous
#981789 #981748 #982617
triadic
#981748 #489817 #174898
tetradic
#981748 #899817 #179867 #261798
square
#981748 #899817 #179867 #261798
split-complementary
#981748 #179826 #178998
monochromatic
#2E0716 #630F2F #981748 #CD1F61 #E34682
Accessibility & contrast
On white
8.23
#981748 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#981748 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981748
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981748 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981748 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3F49
Deuteranopia (green-blind)
#5C5845
Tritanopia (blue-blind)
#A6002E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981748; /* rgb */ color: rgb(152, 23, 72); /* oklch */ color: oklch(44.8% 0.164 5.2);
Tailwind
colors: {
custom: {
50: '#bc657a',
500: '#981748',
950: '#000000',
},
}SCSS
$custom: #981748; $custom-light: #bc657a; $custom-dark: #000000;
JSON
{
"hex": "#981748",
"rgb": {
"r": 152,
"g": 23,
"b": 72
},
"hsl": {
"h": 337.209,
"s": 73.714,
"l": 34.314
},
"oklch": {
"l": 0.4479,
"c": 0.16431,
"h": 5.2
},
"luminance": 0.07756
}Semantic roles & 50–950 ramp
primary
#981748
secondary
#47C494
accent
#F0AA37
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130609
muted
#827A7B