#981B51#981B51
#981B51 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.164 H 0.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #981B51 |
|---|---|
| RGB | rgb(152, 27, 81) |
| HSL | hsl(334, 70%, 35%) |
| HSV | hsv(334, 82%, 60%) |
| CMYK | cmyk(0%, 82.2%, 46.7%, 40.4%) |
| CIE-LAB | lab(34.10, 53.22, 0.71) |
| CIE-LCH | lch(34.10, 53.23, 0.76°) |
| OKLab | oklab(45.33% 0.1636 0.0024) |
| OKLCH | oklch(45.33% 0.164 0.8) |
| XYZ | xyz(14.8273, 8.0554, 8.5571) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.61
Mulberry
#920A4E
ΔE00 2.31
Violet Red
#A50055
ΔE00 2.51
Purple Red
#990147
ΔE00 2.65
Dark Fuchsia
#9D0759
ΔE00 2.86
Reddish Purple
#910951
ΔE00 2.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981B51 #1B9862
analogous
#981B8F #981B51 #98241B
triadic
#981B51 #51981B #1B5198
tetradic
#981B51 #8F981B #1B9862 #241B98
square
#981B51 #8F981B #1B9862 #241B98
split-complementary
#981B51 #1B9824 #1B8F98
monochromatic
#30091A #641235 #981B51 #CC246D #E04E8D
Accessibility & contrast
On white
8.04
#981B51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#981B51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981B51
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981B51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981B51 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4152
Deuteranopia (green-blind)
#5C594E
Tritanopia (blue-blind)
#A50034
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981b51; /* rgb */ color: rgb(152, 27, 81); /* oklch */ color: oklch(45.3% 0.164 0.8);
Tailwind
colors: {
custom: {
50: '#bc6681',
500: '#981b51',
950: '#000000',
},
}SCSS
$custom: #981b51; $custom-light: #bc6681; $custom-dark: #000000;
JSON
{
"hex": "#981b51",
"rgb": {
"r": 152,
"g": 27,
"b": 81
},
"hsl": {
"h": 334.08,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.45333,
"c": 0.1636,
"h": 0.8
},
"luminance": 0.08053
}Semantic roles & 50–950 ramp
primary
#981B51
secondary
#4DC28F
accent
#EDA03B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C