#981F42#981F42
#981F42 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.156 H 9.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #981F42 |
|---|---|
| RGB | rgb(152, 31, 66) |
| HSL | hsl(343, 66%, 36%) |
| HSV | hsv(343, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 56.6%, 40.4%) |
| CIE-LAB | lab(34.09, 50.80, 10.47) |
| CIE-LCH | lch(34.09, 51.87, 11.65°) |
| OKLab | oklab(45.19% 0.1542 0.0265) |
| OKLCH | oklch(45.19% 0.156 9.7) |
| XYZ | xyz(14.4236, 8.0508, 5.9477) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.67
Purple Red
#990147
ΔE00 3.96
Berry
#990F4B
ΔE00 4.16
Red Wine
#8C0034
ΔE00 4.17
Raspberry (survey)
#B00149
ΔE00 4.39
Purplish Red
#B0054B
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F42 #1F9875
analogous
#981F7E #981F42 #98391F
triadic
#981F42 #42981F #1F4298
tetradic
#981F42 #7E981F #1F9875 #391F98
square
#981F42 #7E981F #1F9875 #391F98
split-complementary
#981F42 #1F9839 #1F7E98
monochromatic
#320A16 #65152C #981F42 #CB2958 #DC557C
Accessibility & contrast
On white
8.05
#981F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#981F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F42
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F42 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404143
Deuteranopia (green-blind)
#5F593F
Tritanopia (blue-blind)
#A6002E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981f42; /* rgb */ color: rgb(152, 31, 66); /* oklch */ color: oklch(45.2% 0.156 9.7);
Tailwind
colors: {
custom: {
50: '#bd6776',
500: '#981f42',
950: '#000000',
},
}SCSS
$custom: #981f42; $custom-light: #bd6776; $custom-dark: #000000;
JSON
{
"hex": "#981f42",
"rgb": {
"r": 152,
"g": 31,
"b": 66
},
"hsl": {
"h": 342.645,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.45191,
"c": 0.15645,
"h": 9.7
},
"luminance": 0.08049
}Semantic roles & 50–950 ramp
primary
#981F42
secondary
#53C0A0
accent
#E9B83F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B