#981F45#981F45
#981F45 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.157 H 8.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #981F45 |
|---|---|
| RGB | rgb(152, 31, 69) |
| HSL | hsl(341, 66%, 36%) |
| HSV | hsv(341, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 54.6%, 40.4%) |
| CIE-LAB | lab(34.16, 51.03, 8.62) |
| CIE-LCH | lch(34.16, 51.75, 9.59°) |
| OKLab | oklab(45.27% 0.1554 0.0221) |
| OKLCH | oklch(45.27% 0.157 8.1) |
| XYZ | xyz(14.5144, 8.0871, 6.4258) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.20
Berry
#990F4B
ΔE00 3.24
Cranberry
#9E003A
ΔE00 3.32
Raspberry (survey)
#B00149
ΔE00 4.31
Purplish Red
#B0054B
ΔE00 4.32
Red Wine
#8C0034
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F45 #1F9872
analogous
#981F81 #981F45 #98351F
triadic
#981F45 #45981F #1F4598
tetradic
#981F45 #81981F #1F9872 #351F98
square
#981F45 #81981F #1F9872 #351F98
split-complementary
#981F45 #1F9835 #1F8198
monochromatic
#320A17 #65152E #981F45 #CB295C #DC5580
Accessibility & contrast
On white
8.02
#981F45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#981F45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F45
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F45 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4146
Deuteranopia (green-blind)
#5F5942
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981f45; /* rgb */ color: rgb(152, 31, 69); /* oklch */ color: oklch(45.3% 0.157 8.1);
Tailwind
colors: {
custom: {
50: '#bc6778',
500: '#981f45',
950: '#000000',
},
}SCSS
$custom: #981f45; $custom-light: #bc6778; $custom-dark: #000000;
JSON
{
"hex": "#981f45",
"rgb": {
"r": 152,
"g": 31,
"b": 69
},
"hsl": {
"h": 341.157,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.45271,
"c": 0.15695,
"h": 8.1
},
"luminance": 0.08085
}Semantic roles & 50–950 ramp
primary
#981F45
secondary
#53C09E
accent
#E9B43F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B