#981C45#981C45
#981C45 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.160 H 7.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #981C45 |
|---|---|
| RGB | rgb(152, 28, 69) |
| HSL | hsl(340, 69%, 35%) |
| HSV | hsv(340, 82%, 60%) |
| CMYK | cmyk(0%, 81.6%, 54.6%, 40.4%) |
| CIE-LAB | lab(33.85, 51.91, 8.19) |
| CIE-LCH | lch(33.85, 52.55, 8.96°) |
| OKLab | oklab(45.04% 0.1582 0.021) |
| OKLCH | oklch(45.04% 0.16 7.6) |
| XYZ | xyz(14.4397, 7.9377, 6.4008) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.74
Berry
#990F4B
ΔE00 2.84
Cranberry
#9E003A
ΔE00 3.35
Purplish Red
#B0054B
ΔE00 4.32
Raspberry (survey)
#B00149
ΔE00 4.33
Red Wine
#8C0034
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981C45 #1C986F
analogous
#981C83 #981C45 #98311C
triadic
#981C45 #45981C #1C4598
tetradic
#981C45 #83981C #1C986F #311C98
square
#981C45 #83981C #1C986F #311C98
split-complementary
#981C45 #1C9831 #1C8398
monochromatic
#310916 #64122E #981C45 #CC265C #DF507F
Accessibility & contrast
On white
8.12
#981C45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#981C45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981C45
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981C45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981C45 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4046
Deuteranopia (green-blind)
#5E5842
Tritanopia (blue-blind)
#A6002E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981c45; /* rgb */ color: rgb(152, 28, 69); /* oklch */ color: oklch(45.0% 0.160 7.6);
Tailwind
colors: {
custom: {
50: '#bd6678',
500: '#981c45',
950: '#000000',
},
}SCSS
$custom: #981c45; $custom-light: #bd6678; $custom-dark: #000000;
JSON
{
"hex": "#981c45",
"rgb": {
"r": 152,
"g": 28,
"b": 69
},
"hsl": {
"h": 340.161,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.45042,
"c": 0.15963,
"h": 7.6
},
"luminance": 0.07936
}Semantic roles & 50–950 ramp
primary
#981C45
secondary
#4EC19B
accent
#ECB23C
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B