#981B47#981B47
#981B47 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.161 H 6.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #981B47 |
|---|---|
| RGB | rgb(152, 27, 71) |
| HSL | hsl(339, 70%, 35%) |
| HSV | hsv(339, 82%, 60%) |
| CMYK | cmyk(0%, 82.2%, 53.3%, 40.4%) |
| CIE-LAB | lab(33.81, 52.35, 6.82) |
| CIE-LCH | lch(33.81, 52.79, 7.42°) |
| OKLab | oklab(45.03% 0.1599 0.0177) |
| OKLCH | oklch(45.03% 0.161 6.3) |
| XYZ | xyz(14.4795, 7.9163, 6.7256) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.13
Purple Red
#990147
ΔE00 2.19
Cranberry
#9E003A
ΔE00 3.93
Violet Red
#A50055
ΔE00 4.39
Purplish Red
#B0054B
ΔE00 4.39
Mulberry
#920A4E
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981B47 #1B986C
analogous
#981B85 #981B47 #982E1B
triadic
#981B47 #47981B #1B4798
tetradic
#981B47 #85981B #1B986C #2E1B98
square
#981B47 #85981B #1B986C #2E1B98
split-complementary
#981B47 #1B982E #1B8598
monochromatic
#300916 #64122F #981B47 #CC245F #E04E81
Accessibility & contrast
On white
8.13
#981B47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#981B47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981B47
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981B47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981B47 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#5D5844
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981b47; /* rgb */ color: rgb(152, 27, 71); /* oklch */ color: oklch(45.0% 0.161 6.3);
Tailwind
colors: {
custom: {
50: '#bc6679',
500: '#981b47',
950: '#000000',
},
}SCSS
$custom: #981b47; $custom-light: #bc6679; $custom-dark: #000000;
JSON
{
"hex": "#981b47",
"rgb": {
"r": 152,
"g": 27,
"b": 71
},
"hsl": {
"h": 338.88,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.45026,
"c": 0.16088,
"h": 6.3
},
"luminance": 0.07914
}Semantic roles & 50–950 ramp
primary
#981B47
secondary
#4DC299
accent
#EDAE3B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B