#981E47#981E47
#981E47 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.158 H 6.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #981E47 |
|---|---|
| RGB | rgb(152, 30, 71) |
| HSL | hsl(340, 67%, 36%) |
| HSV | hsv(340, 80%, 60%) |
| CMYK | cmyk(0%, 80.3%, 53.3%, 40.4%) |
| CIE-LAB | lab(34.11, 51.49, 7.24) |
| CIE-LCH | lch(34.11, 52.00, 8.01°) |
| OKLab | oklab(45.25% 0.1571 0.0187) |
| OKLCH | oklch(45.25% 0.158 6.8) |
| XYZ | xyz(14.5518, 8.0609, 6.7497) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.53
Purple Red
#990147
ΔE00 2.62
Cranberry
#9E003A
ΔE00 3.85
Purplish Red
#B0054B
ΔE00 4.34
Raspberry (survey)
#B00149
ΔE00 4.40
Violet Red
#A50055
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981E47 #1E986F
analogous
#981E84 #981E47 #98321E
triadic
#981E47 #47981E #1E4798
tetradic
#981E47 #84981E #1E986F #321E98
square
#981E47 #84981E #1E986F #321E98
split-complementary
#981E47 #1E9832 #1E8498
monochromatic
#320A17 #65142F #981E47 #CB285F #DD5382
Accessibility & contrast
On white
8.04
#981E47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#981E47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981E47
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981E47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981E47 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4148
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981e47; /* rgb */ color: rgb(152, 30, 71); /* oklch */ color: oklch(45.2% 0.158 6.8);
Tailwind
colors: {
custom: {
50: '#bc6779',
500: '#981e47',
950: '#000000',
},
}SCSS
$custom: #981e47; $custom-light: #bc6779; $custom-dark: #000000;
JSON
{
"hex": "#981e47",
"rgb": {
"r": 152,
"g": 30,
"b": 71
},
"hsl": {
"h": 339.836,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.45248,
"c": 0.15825,
"h": 6.8
},
"luminance": 0.08059
}Semantic roles & 50–950 ramp
primary
#981E47
secondary
#51C09B
accent
#EAB03E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B