#981F47#981F47
#981F47 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.157 H 7.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #981F47 |
|---|---|
| RGB | rgb(152, 31, 71) |
| HSL | hsl(340, 66%, 36%) |
| HSV | hsv(340, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 53.3%, 40.4%) |
| CIE-LAB | lab(34.22, 51.19, 7.39) |
| CIE-LCH | lch(34.22, 51.72, 8.22°) |
| OKLab | oklab(45.33% 0.1562 0.0191) |
| OKLCH | oklch(45.33% 0.157 7) |
| XYZ | xyz(14.5776, 8.1124, 6.7582) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.68
Purple Red
#990147
ΔE00 2.78
Cranberry
#9E003A
ΔE00 3.83
Purplish Red
#B0054B
ΔE00 4.33
Raspberry (survey)
#B00149
ΔE00 4.39
Violet Red
#A50055
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F47 #1F9870
analogous
#981F83 #981F47 #98331F
triadic
#981F47 #47981F #1F4798
tetradic
#981F47 #83981F #1F9870 #331F98
square
#981F47 #83981F #1F9870 #331F98
split-complementary
#981F47 #1F9833 #1F8398
monochromatic
#320A18 #65152F #981F47 #CB295F #DC5582
Accessibility & contrast
On white
8.01
#981F47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#981F47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F47
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F47 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4148
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981f47; /* rgb */ color: rgb(152, 31, 71); /* oklch */ color: oklch(45.3% 0.157 7.0);
Tailwind
colors: {
custom: {
50: '#bc6879',
500: '#981f47',
950: '#000000',
},
}SCSS
$custom: #981f47; $custom-light: #bc6879; $custom-dark: #000000;
JSON
{
"hex": "#981f47",
"rgb": {
"r": 152,
"g": 31,
"b": 71
},
"hsl": {
"h": 340.165,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.45326,
"c": 0.15733,
"h": 7
},
"luminance": 0.0811
}Semantic roles & 50–950 ramp
primary
#981F47
secondary
#53C09C
accent
#E9B13F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B