#981E40#981E40
#981E40 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.157 H 10.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #981E40 |
|---|---|
| RGB | rgb(152, 30, 64) |
| HSL | hsl(343, 67%, 36%) |
| HSV | hsv(343, 80%, 60%) |
| CMYK | cmyk(0%, 80.3%, 57.9%, 40.4%) |
| CIE-LAB | lab(33.93, 50.95, 11.56) |
| CIE-LCH | lch(33.93, 52.25, 12.79°) |
| OKLab | oklab(45.06% 0.1544 0.029) |
| OKLCH | oklch(45.06% 0.157 10.6) |
| XYZ | xyz(14.3400, 7.9762, 5.6340) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.31
Red Wine
#8C0034
ΔE00 3.96
Purple Red
#990147
ΔE00 4.38
Raspberry (survey)
#B00149
ΔE00 4.52
Berry
#990F4B
ΔE00 4.66
Purplish Red
#B0054B
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981E40 #1E9876
analogous
#981E7D #981E40 #98391E
triadic
#981E40 #40981E #1E4098
tetradic
#981E40 #7D981E #1E9876 #391E98
square
#981E40 #7D981E #1E9876 #391E98
split-complementary
#981E40 #1E9839 #1E7D98
monochromatic
#320A15 #65142A #981E40 #CB2856 #DD537A
Accessibility & contrast
On white
8.09
#981E40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#981E40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981E40
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981E40 | 1.00 | 8.09 | 2.59 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404041
Deuteranopia (green-blind)
#5F593D
Tritanopia (blue-blind)
#A7002D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981e40; /* rgb */ color: rgb(152, 30, 64); /* oklch */ color: oklch(45.1% 0.157 10.6);
Tailwind
colors: {
custom: {
50: '#bd6774',
500: '#981e40',
950: '#000000',
},
}SCSS
$custom: #981e40; $custom-light: #bd6774; $custom-dark: #000000;
JSON
{
"hex": "#981e40",
"rgb": {
"r": 152,
"g": 30,
"b": 64
},
"hsl": {
"h": 343.279,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.45061,
"c": 0.15708,
"h": 10.6
},
"luminance": 0.07974
}Semantic roles & 50–950 ramp
primary
#981E40
secondary
#51C0A1
accent
#EABA3E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B