#981B48#981B48
#981B48 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.161 H 5.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #981B48 |
|---|---|
| RGB | rgb(152, 27, 72) |
| HSL | hsl(338, 70%, 35%) |
| HSV | hsv(338, 82%, 60%) |
| CMYK | cmyk(0%, 82.2%, 52.6%, 40.4%) |
| CIE-LAB | lab(33.84, 52.43, 6.20) |
| CIE-LCH | lch(33.84, 52.80, 6.74°) |
| OKLab | oklab(45.06% 0.1603 0.0162) |
| OKLCH | oklch(45.06% 0.161 5.8) |
| XYZ | xyz(14.5119, 7.9292, 6.8960) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.86
Purple Red
#990147
ΔE00 2.03
Violet Red
#A50055
ΔE00 4.13
Mulberry
#920A4E
ΔE00 4.19
Cranberry
#9E003A
ΔE00 4.22
Purplish Red
#B0054B
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981B48 #1B986B
analogous
#981B86 #981B48 #982D1B
triadic
#981B48 #48981B #1B4898
tetradic
#981B48 #86981B #1B986B #2D1B98
square
#981B48 #86981B #1B986B #2D1B98
split-complementary
#981B48 #1B982D #1B8698
monochromatic
#300917 #64122F #981B48 #CC2461 #E04E82
Accessibility & contrast
On white
8.12
#981B48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#981B48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981B48
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981B48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981B48 | 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)
#3D4049
Deuteranopia (green-blind)
#5D5845
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981b48; /* rgb */ color: rgb(152, 27, 72); /* oklch */ color: oklch(45.1% 0.161 5.8);
Tailwind
colors: {
custom: {
50: '#bc667a',
500: '#981b48',
950: '#000000',
},
}SCSS
$custom: #981b48; $custom-light: #bc667a; $custom-dark: #000000;
JSON
{
"hex": "#981b48",
"rgb": {
"r": 152,
"g": 27,
"b": 72
},
"hsl": {
"h": 338.4,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.45055,
"c": 0.1611,
"h": 5.8
},
"luminance": 0.07927
}Semantic roles & 50–950 ramp
primary
#981B48
secondary
#4DC298
accent
#EDAD3B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B