#981E4E#981E4E
#981E4E is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.160 H 2.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #981E4E |
|---|---|
| RGB | rgb(152, 30, 78) |
| HSL | hsl(336, 67%, 36%) |
| HSV | hsv(336, 80%, 60%) |
| CMYK | cmyk(0%, 80.3%, 48.7%, 40.4%) |
| CIE-LAB | lab(34.31, 52.10, 2.96) |
| CIE-LCH | lch(34.31, 52.18, 3.25°) |
| OKLab | oklab(45.46% 0.1598 0.0081) |
| OKLCH | oklch(45.46% 0.16 2.9) |
| XYZ | xyz(14.7896, 8.1560, 8.0017) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.38
Purple Red
#990147
ΔE00 2.31
Violet Red
#A50055
ΔE00 3.08
Mulberry
#920A4E
ΔE00 3.14
Reddish Purple
#910951
ΔE00 3.99
Dark Fuchsia
#9D0759
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981E4E #1E9868
analogous
#981E8B #981E4E #982B1E
triadic
#981E4E #4E981E #1E4E98
tetradic
#981E4E #8B981E #1E9868 #2B1E98
square
#981E4E #8B981E #1E9868 #2B1E98
split-complementary
#981E4E #1E982B #1E8B98
monochromatic
#320A1A #651434 #981E4E #CB2868 #DD538A
Accessibility & contrast
On white
7.98
#981E4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#981E4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981E4E
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981E4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981E4E | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C424F
Deuteranopia (green-blind)
#5D594B
Tritanopia (blue-blind)
#A60033
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #981e4e; /* rgb */ color: rgb(152, 30, 78); /* oklch */ color: oklch(45.5% 0.160 2.9);
Tailwind
colors: {
custom: {
50: '#bc677f',
500: '#981e4e',
950: '#000000',
},
}SCSS
$custom: #981e4e; $custom-light: #bc677f; $custom-dark: #000000;
JSON
{
"hex": "#981e4e",
"rgb": {
"r": 152,
"g": 30,
"b": 78
},
"hsl": {
"h": 336.393,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.45456,
"c": 0.15998,
"h": 2.9
},
"luminance": 0.08154
}Semantic roles & 50–950 ramp
primary
#981E4E
secondary
#51C095
accent
#EAA63E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C