#981C52#981C52
#981C52 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.163 H 0.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #981C52 |
|---|---|
| RGB | rgb(152, 28, 82) |
| HSL | hsl(334, 69%, 35%) |
| HSV | hsv(334, 82%, 60%) |
| CMYK | cmyk(0%, 81.6%, 46.1%, 40.4%) |
| CIE-LAB | lab(34.23, 53.04, 0.24) |
| CIE-LCH | lch(34.23, 53.04, 0.26°) |
| OKLab | oklab(45.44% 0.163 0.0012) |
| OKLCH | oklch(45.44% 0.163 0.4) |
| XYZ | xyz(14.8884, 8.1171, 8.7638) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.86
Mulberry
#920A4E
ΔE00 2.34
Violet Red
#A50055
ΔE00 2.50
Dark Fuchsia
#9D0759
ΔE00 2.71
Purple Red
#990147
ΔE00 2.90
Reddish Purple
#910951
ΔE00 2.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981C52 #1C9862
analogous
#981C90 #981C52 #98241C
triadic
#981C52 #52981C #1C5298
tetradic
#981C52 #90981C #1C9862 #241C98
square
#981C52 #90981C #1C9862 #241C98
split-complementary
#981C52 #1C9824 #1C9098
monochromatic
#31091A #641236 #981C52 #CC266E #DF508E
Accessibility & contrast
On white
8.01
#981C52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#981C52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981C52
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981C52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981C52 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#5C594F
Tritanopia (blue-blind)
#A50035
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981c52; /* rgb */ color: rgb(152, 28, 82); /* oklch */ color: oklch(45.4% 0.163 0.4);
Tailwind
colors: {
custom: {
50: '#bc6782',
500: '#981c52',
950: '#000000',
},
}SCSS
$custom: #981c52; $custom-light: #bc6782; $custom-dark: #000000;
JSON
{
"hex": "#981c52",
"rgb": {
"r": 152,
"g": 28,
"b": 82
},
"hsl": {
"h": 333.871,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.45437,
"c": 0.16304,
"h": 0.4
},
"luminance": 0.08115
}Semantic roles & 50–950 ramp
primary
#981C52
secondary
#4EC18F
accent
#EC9F3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C