#981C47#981C47
#981C47 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.160 H 6.5°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #981C47 |
|---|---|
| RGB | rgb(152, 28, 71) |
| HSL | hsl(339, 69%, 35%) |
| HSV | hsv(339, 82%, 60%) |
| CMYK | cmyk(0%, 81.6%, 53.3%, 40.4%) |
| CIE-LAB | lab(33.91, 52.07, 6.95) |
| CIE-LCH | lch(33.91, 52.53, 7.61°) |
| OKLab | oklab(45.1% 0.159 0.018) |
| OKLCH | oklch(45.1% 0.16 6.5) |
| XYZ | xyz(14.5028, 7.9629, 6.7333) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.26
Purple Red
#990147
ΔE00 2.33
Cranberry
#9E003A
ΔE00 3.90
Purplish Red
#B0054B
ΔE00 4.37
Raspberry (survey)
#B00149
ΔE00 4.44
Violet Red
#A50055
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981C47 #1C986D
analogous
#981C85 #981C47 #982F1C
triadic
#981C47 #47981C #1C4798
tetradic
#981C47 #85981C #1C986D #2F1C98
square
#981C47 #85981C #1C986D #2F1C98
split-complementary
#981C47 #1C982F #1C8598
monochromatic
#310917 #64122F #981C47 #CC265F #DF5081
Accessibility & contrast
On white
8.10
#981C47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#981C47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981C47
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981C47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981C47 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981c47; /* rgb */ color: rgb(152, 28, 71); /* oklch */ color: oklch(45.1% 0.160 6.5);
Tailwind
colors: {
custom: {
50: '#bc6679',
500: '#981c47',
950: '#000000',
},
}SCSS
$custom: #981c47; $custom-light: #bc6679; $custom-dark: #000000;
JSON
{
"hex": "#981c47",
"rgb": {
"r": 152,
"g": 28,
"b": 71
},
"hsl": {
"h": 339.194,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.45098,
"c": 0.16003,
"h": 6.5
},
"luminance": 0.07961
}Semantic roles & 50–950 ramp
primary
#981C47
secondary
#4EC19A
accent
#ECAF3C
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B