#981E51#981E51
#981E51 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.161 H 1.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #981E51 |
|---|---|
| RGB | rgb(152, 30, 81) |
| HSL | hsl(335, 67%, 36%) |
| HSV | hsv(335, 80%, 60%) |
| CMYK | cmyk(0%, 80.3%, 46.7%, 40.4%) |
| CIE-LAB | lab(34.40, 52.37, 1.14) |
| CIE-LCH | lch(34.40, 52.39, 1.25°) |
| OKLab | oklab(45.55% 0.1609 0.0035) |
| OKLCH | oklch(45.55% 0.161 1.3) |
| XYZ | xyz(14.8996, 8.2000, 8.5812) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.71
Mulberry
#920A4E
ΔE00 2.68
Violet Red
#A50055
ΔE00 2.69
Purple Red
#990147
ΔE00 2.76
Dark Fuchsia
#9D0759
ΔE00 3.19
Reddish Purple
#910951
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981E51 #1E9865
analogous
#981E8E #981E51 #98281E
triadic
#981E51 #51981E #1E5198
tetradic
#981E51 #8E981E #1E9865 #281E98
square
#981E51 #8E981E #1E9865 #281E98
split-complementary
#981E51 #1E9828 #1E8E98
monochromatic
#320A1B #651436 #981E51 #CB286C #DD538D
Accessibility & contrast
On white
7.96
#981E51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#981E51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981E51
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981E51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981E51 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4252
Deuteranopia (green-blind)
#5C594E
Tritanopia (blue-blind)
#A50035
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #981e51; /* rgb */ color: rgb(152, 30, 81); /* oklch */ color: oklch(45.6% 0.161 1.3);
Tailwind
colors: {
custom: {
50: '#bc6781',
500: '#981e51',
950: '#000000',
},
}SCSS
$custom: #981e51; $custom-light: #bc6781; $custom-dark: #000000;
JSON
{
"hex": "#981e51",
"rgb": {
"r": 152,
"g": 30,
"b": 81
},
"hsl": {
"h": 334.918,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.45552,
"c": 0.16089,
"h": 1.3
},
"luminance": 0.08198
}Semantic roles & 50–950 ramp
primary
#981E51
secondary
#51C092
accent
#EAA23E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C