#982147#982147
#982147 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.155 H 7.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #982147 |
|---|---|
| RGB | rgb(152, 33, 71) |
| HSL | hsl(341, 64%, 36%) |
| HSV | hsv(341, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 53.3%, 40.4%) |
| CIE-LAB | lab(34.44, 50.57, 7.70) |
| CIE-LCH | lch(34.44, 51.15, 8.66°) |
| OKLab | oklab(45.49% 0.1542 0.0199) |
| OKLCH | oklch(45.49% 0.155 7.3) |
| XYZ | xyz(14.6314, 8.2201, 6.7762) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.99
Purple Red
#990147
ΔE00 3.11
Cranberry
#9E003A
ΔE00 3.82
Purplish Red
#B0054B
ΔE00 4.33
Raspberry (survey)
#B00149
ΔE00 4.38
Red Wine
#8C0034
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982147 #219872
analogous
#982183 #982147 #983721
triadic
#982147 #479821 #214798
tetradic
#982147 #839821 #219872 #372198
square
#982147 #839821 #219872 #372198
split-complementary
#982147 #219837 #218398
monochromatic
#330B18 #661630 #982147 #CA2C5E #DB5982
Accessibility & contrast
On white
7.94
#982147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#982147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982147
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982147 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#5F5A44
Tritanopia (blue-blind)
#A60031
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #982147; /* rgb */ color: rgb(152, 33, 71); /* oklch */ color: oklch(45.5% 0.155 7.3);
Tailwind
colors: {
custom: {
50: '#bc6879',
500: '#982147',
950: '#000000',
},
}SCSS
$custom: #982147; $custom-light: #bc6879; $custom-dark: #000000;
JSON
{
"hex": "#982147",
"rgb": {
"r": 152,
"g": 33,
"b": 71
},
"hsl": {
"h": 340.84,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.45489,
"c": 0.15542,
"h": 7.3
},
"luminance": 0.08218
}Semantic roles & 50–950 ramp
primary
#982147
secondary
#56BF9D
accent
#E7B240
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B