#981B52#981B52
#981B52 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.164 H 0.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #981B52 |
|---|---|
| RGB | rgb(152, 27, 82) |
| HSL | hsl(334, 70%, 35%) |
| HSV | hsv(334, 82%, 60%) |
| CMYK | cmyk(0%, 82.2%, 46.1%, 40.4%) |
| CIE-LAB | lab(34.13, 53.31, 0.10) |
| CIE-LCH | lch(34.13, 53.31, 0.11°) |
| OKLab | oklab(45.37% 0.1639 0.0009) |
| OKLCH | oklch(45.37% 0.164 0.3) |
| XYZ | xyz(14.8650, 8.0705, 8.7560) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.85
Mulberry
#920A4E
ΔE00 2.23
Violet Red
#A50055
ΔE00 2.46
Dark Fuchsia
#9D0759
ΔE00 2.60
Reddish Purple
#910951
ΔE00 2.82
Purple Red
#990147
ΔE00 2.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981B52 #1B9861
analogous
#981B90 #981B52 #98231B
triadic
#981B52 #52981B #1B5298
tetradic
#981B52 #90981B #1B9861 #231B98
square
#981B52 #90981B #1B9861 #231B98
split-complementary
#981B52 #1B9823 #1B9098
monochromatic
#30091A #641236 #981B52 #CC246E #E04E8E
Accessibility & contrast
On white
8.03
#981B52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#981B52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981B52
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981B52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981B52 | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#5B594F
Tritanopia (blue-blind)
#A50034
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981b52; /* rgb */ color: rgb(152, 27, 82); /* oklch */ color: oklch(45.4% 0.164 0.3);
Tailwind
colors: {
custom: {
50: '#bc6682',
500: '#981b52',
950: '#000000',
},
}SCSS
$custom: #981b52; $custom-light: #bc6682; $custom-dark: #000000;
JSON
{
"hex": "#981b52",
"rgb": {
"r": 152,
"g": 27,
"b": 82
},
"hsl": {
"h": 333.6,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.45367,
"c": 0.16392,
"h": 0.3
},
"luminance": 0.08068
}Semantic roles & 50–950 ramp
primary
#981B52
secondary
#4DC28E
accent
#ED9F3B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C