#981C4F#981C4F
#981C4F is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.162 H 2.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #981C4F |
|---|---|
| RGB | rgb(152, 28, 79) |
| HSL | hsl(335, 69%, 35%) |
| HSV | hsv(335, 82%, 60%) |
| CMYK | cmyk(0%, 81.6%, 48%, 40.4%) |
| CIE-LAB | lab(34.13, 52.76, 2.06) |
| CIE-LCH | lch(34.13, 52.80, 2.24°) |
| OKLab | oklab(45.34% 0.162 0.0059) |
| OKLCH | oklch(45.34% 0.162 2.1) |
| XYZ | xyz(14.7767, 8.0725, 8.1757) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.27
Purple Red
#990147
ΔE00 2.30
Mulberry
#920A4E
ΔE00 2.70
Violet Red
#A50055
ΔE00 2.77
Dark Fuchsia
#9D0759
ΔE00 3.50
Reddish Purple
#910951
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981C4F #1C9865
analogous
#981C8D #981C4F #98271C
triadic
#981C4F #4F981C #1C4F98
tetradic
#981C4F #8D981C #1C9865 #271C98
square
#981C4F #8D981C #1C9865 #271C98
split-complementary
#981C4F #1C9827 #1C8D98
monochromatic
#310919 #641234 #981C4F #CC266A #DF508B
Accessibility & contrast
On white
8.03
#981C4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#981C4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981C4F
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981C4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981C4F | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#5C594C
Tritanopia (blue-blind)
#A60033
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981c4f; /* rgb */ color: rgb(152, 28, 79); /* oklch */ color: oklch(45.3% 0.162 2.1);
Tailwind
colors: {
custom: {
50: '#bc6780',
500: '#981c4f',
950: '#000000',
},
}SCSS
$custom: #981c4f; $custom-light: #bc6780; $custom-dark: #000000;
JSON
{
"hex": "#981c4f",
"rgb": {
"r": 152,
"g": 28,
"b": 79
},
"hsl": {
"h": 335.323,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.45339,
"c": 0.1621,
"h": 2.1
},
"luminance": 0.0807
}Semantic roles & 50–950 ramp
primary
#981C4F
secondary
#4EC192
accent
#ECA33C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C