#982047#982047
#982047 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.156 H 7.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #982047 |
|---|---|
| RGB | rgb(152, 32, 71) |
| HSL | hsl(341, 65%, 36%) |
| HSV | hsv(341, 79%, 60%) |
| CMYK | cmyk(0%, 78.9%, 53.3%, 40.4%) |
| CIE-LAB | lab(34.33, 50.88, 7.55) |
| CIE-LCH | lch(34.33, 51.44, 8.43°) |
| OKLab | oklab(45.41% 0.1552 0.0195) |
| OKLCH | oklch(45.41% 0.156 7.2) |
| XYZ | xyz(14.6041, 8.1654, 6.7671) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.83
Purple Red
#990147
ΔE00 2.94
Cranberry
#9E003A
ΔE00 3.82
Purplish Red
#B0054B
ΔE00 4.33
Raspberry (survey)
#B00149
ΔE00 4.38
Red Wine
#8C0034
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982047 #209871
analogous
#982083 #982047 #983520
triadic
#982047 #479820 #204798
tetradic
#982047 #839820 #209871 #352098
square
#982047 #839820 #209871 #352098
split-complementary
#982047 #209835 #208398
monochromatic
#330B18 #65152F #982047 #CB2B5F #DC5782
Accessibility & contrast
On white
7.98
#982047 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#982047 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982047
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982047 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982047 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4148
Deuteranopia (green-blind)
#5F5944
Tritanopia (blue-blind)
#A60031
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #982047; /* rgb */ color: rgb(152, 32, 71); /* oklch */ color: oklch(45.4% 0.156 7.2);
Tailwind
colors: {
custom: {
50: '#bc6879',
500: '#982047',
950: '#000000',
},
}SCSS
$custom: #982047; $custom-light: #bc6879; $custom-dark: #000000;
JSON
{
"hex": "#982047",
"rgb": {
"r": 152,
"g": 32,
"b": 71
},
"hsl": {
"h": 340.5,
"s": 65.217,
"l": 36.078
},
"oklch": {
"l": 0.45407,
"c": 0.15639,
"h": 7.2
},
"luminance": 0.08163
}Semantic roles & 50–950 ramp
primary
#982047
secondary
#54BF9D
accent
#E8B140
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B