#981B40#981B40
#981B40 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.160 H 10.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #981B40 |
|---|---|
| RGB | rgb(152, 27, 64) |
| HSL | hsl(342, 70%, 35%) |
| HSV | hsv(342, 82%, 60%) |
| CMYK | cmyk(0%, 82.2%, 57.9%, 40.4%) |
| CIE-LAB | lab(33.63, 51.81, 11.15) |
| CIE-LCH | lch(33.63, 53.00, 12.14°) |
| OKLab | oklab(44.84% 0.1572 0.028) |
| OKLCH | oklch(44.84% 0.16 10.1) |
| XYZ | xyz(14.2677, 7.8315, 5.6099) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.18
Red Wine
#8C0034
ΔE00 3.72
Purple Red
#990147
ΔE00 3.95
Berry
#990F4B
ΔE00 4.29
Raspberry (survey)
#B00149
ΔE00 4.44
Purplish Red
#B0054B
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981B40 #1B9873
analogous
#981B7E #981B40 #98351B
triadic
#981B40 #40981B #1B4098
tetradic
#981B40 #7E981B #1B9873 #351B98
square
#981B40 #7E981B #1B9873 #351B98
split-complementary
#981B40 #1B9835 #1B7E98
monochromatic
#300914 #64122A #981B40 #CC2456 #E04E79
Accessibility & contrast
On white
8.18
#981B40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#981B40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981B40
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981B40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981B40 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3F41
Deuteranopia (green-blind)
#5E583D
Tritanopia (blue-blind)
#A7002B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981b40; /* rgb */ color: rgb(152, 27, 64); /* oklch */ color: oklch(44.8% 0.160 10.1);
Tailwind
colors: {
custom: {
50: '#bd6674',
500: '#981b40',
950: '#000000',
},
}SCSS
$custom: #981b40; $custom-light: #bd6674; $custom-dark: #000000;
JSON
{
"hex": "#981b40",
"rgb": {
"r": 152,
"g": 27,
"b": 64
},
"hsl": {
"h": 342.24,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.44837,
"c": 0.15963,
"h": 10.1
},
"luminance": 0.07829
}Semantic roles & 50–950 ramp
primary
#981B40
secondary
#4DC29F
accent
#EDB83B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B