#981D4F#981D4F
#981D4F is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.161 H 2.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #981D4F |
|---|---|
| RGB | rgb(152, 29, 79) |
| HSL | hsl(336, 68%, 35%) |
| HSV | hsv(336, 81%, 60%) |
| CMYK | cmyk(0%, 80.9%, 48%, 40.4%) |
| CIE-LAB | lab(34.23, 52.48, 2.21) |
| CIE-LCH | lch(34.23, 52.52, 2.41°) |
| OKLab | oklab(45.41% 0.1611 0.0062) |
| OKLCH | oklch(45.41% 0.161 2.2) |
| XYZ | xyz(14.8008, 8.1207, 8.1837) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.35
Purple Red
#990147
ΔE00 2.36
Mulberry
#920A4E
ΔE00 2.83
Violet Red
#A50055
ΔE00 2.84
Dark Fuchsia
#9D0759
ΔE00 3.61
Reddish Purple
#910951
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981D4F #1D9866
analogous
#981D8C #981D4F #98291D
triadic
#981D4F #4F981D #1D4F98
tetradic
#981D4F #8C981D #1D9866 #291D98
square
#981D4F #8C981D #1D9866 #291D98
split-complementary
#981D4F #1D9829 #1D8C98
monochromatic
#31091A #651334 #981D4F #CB276A #DE528B
Accessibility & contrast
On white
8.00
#981D4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#981D4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981D4F
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981D4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981D4F | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4150
Deuteranopia (green-blind)
#5C594C
Tritanopia (blue-blind)
#A60034
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981d4f; /* rgb */ color: rgb(152, 29, 79); /* oklch */ color: oklch(45.4% 0.161 2.2);
Tailwind
colors: {
custom: {
50: '#bc6780',
500: '#981d4f',
950: '#000000',
},
}SCSS
$custom: #981d4f; $custom-light: #bc6780; $custom-dark: #000000;
JSON
{
"hex": "#981d4f",
"rgb": {
"r": 152,
"g": 29,
"b": 79
},
"hsl": {
"h": 335.61,
"s": 67.956,
"l": 35.49
},
"oklch": {
"l": 0.45412,
"c": 0.16119,
"h": 2.2
},
"luminance": 0.08119
}Semantic roles & 50–950 ramp
primary
#981D4F
secondary
#50C193
accent
#EBA43D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C