#981D45#981D45
#981D45 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.159 H 7.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #981D45 |
|---|---|
| RGB | rgb(152, 29, 69) |
| HSL | hsl(340, 68%, 35%) |
| HSV | hsv(340, 81%, 60%) |
| CMYK | cmyk(0%, 80.9%, 54.6%, 40.4%) |
| CIE-LAB | lab(33.95, 51.63, 8.33) |
| CIE-LCH | lch(33.95, 52.29, 9.16°) |
| OKLab | oklab(45.12% 0.1573 0.0213) |
| OKLCH | oklch(45.12% 0.159 7.7) |
| XYZ | xyz(14.4638, 7.9859, 6.4089) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.89
Berry
#990F4B
ΔE00 2.97
Cranberry
#9E003A
ΔE00 3.34
Purplish Red
#B0054B
ΔE00 4.32
Raspberry (survey)
#B00149
ΔE00 4.32
Red Wine
#8C0034
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981D45 #1D9870
analogous
#981D82 #981D45 #98331D
triadic
#981D45 #45981D #1D4598
tetradic
#981D45 #82981D #1D9870 #331D98
square
#981D45 #82981D #1D9870 #331D98
split-complementary
#981D45 #1D9833 #1D8298
monochromatic
#310916 #65132E #981D45 #CB275C #DE527F
Accessibility & contrast
On white
8.09
#981D45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#981D45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981D45
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981D45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981D45 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4046
Deuteranopia (green-blind)
#5E5942
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981d45; /* rgb */ color: rgb(152, 29, 69); /* oklch */ color: oklch(45.1% 0.159 7.7);
Tailwind
colors: {
custom: {
50: '#bc6778',
500: '#981d45',
950: '#000000',
},
}SCSS
$custom: #981d45; $custom-light: #bc6778; $custom-dark: #000000;
JSON
{
"hex": "#981d45",
"rgb": {
"r": 152,
"g": 29,
"b": 69
},
"hsl": {
"h": 340.488,
"s": 67.956,
"l": 35.49
},
"oklch": {
"l": 0.45116,
"c": 0.15875,
"h": 7.7
},
"luminance": 0.07984
}Semantic roles & 50–950 ramp
primary
#981D45
secondary
#50C19C
accent
#EBB23D
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B