#981E42#981E42
#981E42 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.157 H 9.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #981E42 |
|---|---|
| RGB | rgb(152, 30, 66) |
| HSL | hsl(342, 67%, 36%) |
| HSV | hsv(342, 80%, 60%) |
| CMYK | cmyk(0%, 80.3%, 56.6%, 40.4%) |
| CIE-LAB | lab(33.98, 51.10, 10.33) |
| CIE-LCH | lch(33.98, 52.13, 11.42°) |
| OKLab | oklab(45.11% 0.1552 0.0261) |
| OKLCH | oklch(45.11% 0.157 9.5) |
| XYZ | xyz(14.3979, 7.9994, 5.9391) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.64
Purple Red
#990147
ΔE00 3.81
Berry
#990F4B
ΔE00 4.02
Red Wine
#8C0034
ΔE00 4.09
Raspberry (survey)
#B00149
ΔE00 4.36
Purplish Red
#B0054B
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981E42 #1E9874
analogous
#981E7F #981E42 #98371E
triadic
#981E42 #42981E #1E4298
tetradic
#981E42 #7F981E #1E9874 #371E98
square
#981E42 #7F981E #1E9874 #371E98
split-complementary
#981E42 #1E9837 #1E7F98
monochromatic
#320A16 #65142C #981E42 #CB2858 #DD537C
Accessibility & contrast
On white
8.08
#981E42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#981E42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981E42
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981E42 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4043
Deuteranopia (green-blind)
#5F593F
Tritanopia (blue-blind)
#A6002E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981e42; /* rgb */ color: rgb(152, 30, 66); /* oklch */ color: oklch(45.1% 0.157 9.5);
Tailwind
colors: {
custom: {
50: '#bd6776',
500: '#981e42',
950: '#000000',
},
}SCSS
$custom: #981e42; $custom-light: #bd6776; $custom-dark: #000000;
JSON
{
"hex": "#981e42",
"rgb": {
"r": 152,
"g": 30,
"b": 66
},
"hsl": {
"h": 342.295,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.45112,
"c": 0.15736,
"h": 9.5
},
"luminance": 0.07997
}Semantic roles & 50–950 ramp
primary
#981E42
secondary
#51C0A0
accent
#EAB73E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B