#981D47#981D47
#981D47 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.159 H 6.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #981D47 |
|---|---|
| RGB | rgb(152, 29, 71) |
| HSL | hsl(340, 68%, 35%) |
| HSV | hsv(340, 81%, 60%) |
| CMYK | cmyk(0%, 80.9%, 53.3%, 40.4%) |
| CIE-LAB | lab(34.01, 51.79, 7.10) |
| CIE-LCH | lch(34.01, 52.27, 7.80°) |
| OKLab | oklab(45.17% 0.1581 0.0184) |
| OKLCH | oklch(45.17% 0.159 6.6) |
| XYZ | xyz(14.5269, 8.0111, 6.7414) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.39
Purple Red
#990147
ΔE00 2.47
Cranberry
#9E003A
ΔE00 3.87
Purplish Red
#B0054B
ΔE00 4.35
Raspberry (survey)
#B00149
ΔE00 4.42
Violet Red
#A50055
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981D47 #1D986E
analogous
#981D84 #981D47 #98301D
triadic
#981D47 #47981D #1D4798
tetradic
#981D47 #84981D #1D986E #301D98
square
#981D47 #84981D #1D986E #301D98
split-complementary
#981D47 #1D9830 #1D8498
monochromatic
#310917 #65132F #981D47 #CB275F #DE5281
Accessibility & contrast
On white
8.07
#981D47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#981D47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981D47
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981D47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981D47 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4048
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981d47; /* rgb */ color: rgb(152, 29, 71); /* oklch */ color: oklch(45.2% 0.159 6.6);
Tailwind
colors: {
custom: {
50: '#bc6779',
500: '#981d47',
950: '#000000',
},
}SCSS
$custom: #981d47; $custom-light: #bc6779; $custom-dark: #000000;
JSON
{
"hex": "#981d47",
"rgb": {
"r": 152,
"g": 29,
"b": 71
},
"hsl": {
"h": 339.512,
"s": 67.956,
"l": 35.49
},
"oklch": {
"l": 0.45172,
"c": 0.15915,
"h": 6.6
},
"luminance": 0.08009
}Semantic roles & 50–950 ramp
primary
#981D47
secondary
#50C19A
accent
#EBAF3D
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B