#981C56#981C56
#981C56 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.164 H 358.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #981C56 |
|---|---|
| RGB | rgb(152, 28, 86) |
| HSL | hsl(332, 69%, 35%) |
| HSV | hsv(332, 82%, 60%) |
| CMYK | cmyk(0%, 81.6%, 43.4%, 40.4%) |
| CIE-LAB | lab(34.35, 53.43, -2.16) |
| CIE-LCH | lch(34.35, 53.47, 357.68°) |
| OKLab | oklab(45.57% 0.1644 -0.005) |
| OKLCH | oklch(45.57% 0.164 358.3) |
| XYZ | xyz(15.0450, 8.1798, 9.5889) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 1.86
Mulberry
#920A4E
ΔE00 2.35
Deep Magenta
#A0025C
ΔE00 2.47
Reddish Purple
#910951
ΔE00 2.51
Violet Red
#A50055
ΔE00 2.62
Dark Magenta
#960056
ΔE00 2.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981C56 #1C985E
analogous
#981C94 #981C56 #98201C
triadic
#981C56 #56981C #1C5698
tetradic
#981C56 #94981C #1C985E #201C98
square
#981C56 #94981C #1C985E #201C98
split-complementary
#981C56 #1C9820 #1C9498
monochromatic
#31091C #641239 #981C56 #CC2673 #DF5093
Accessibility & contrast
On white
7.97
#981C56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#981C56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981C56
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981C56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981C56 | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394257
Deuteranopia (green-blind)
#5B5953
Tritanopia (blue-blind)
#A50037
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #981c56; /* rgb */ color: rgb(152, 28, 86); /* oklch */ color: oklch(45.6% 0.164 358.3);
Tailwind
colors: {
custom: {
50: '#bc6785',
500: '#981c56',
950: '#000000',
},
}SCSS
$custom: #981c56; $custom-light: #bc6785; $custom-dark: #000000;
JSON
{
"hex": "#981c56",
"rgb": {
"r": 152,
"g": 28,
"b": 86
},
"hsl": {
"h": 331.935,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.45574,
"c": 0.16446,
"h": 358.3
},
"luminance": 0.08178
}Semantic roles & 50–950 ramp
primary
#981C56
secondary
#4EC18C
accent
#EC9A3C
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C