#981F57#981F57
#981F57 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.162 H 358.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #981F57 |
|---|---|
| RGB | rgb(152, 31, 87) |
| HSL | hsl(332, 66%, 36%) |
| HSV | hsv(332, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 42.8%, 40.4%) |
| CIE-LAB | lab(34.69, 52.66, -2.31) |
| CIE-LCH | lch(34.69, 52.71, 357.49°) |
| OKLab | oklab(45.83% 0.1619 -0.0054) |
| OKLCH | oklch(45.83% 0.162 358.1) |
| XYZ | xyz(15.1603, 8.3455, 9.8275) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.07
Deep Magenta
#A0025C
ΔE00 2.60
Mulberry
#920A4E
ΔE00 2.68
Violet Red
#A50055
ΔE00 2.79
Reddish Purple
#910951
ΔE00 2.81
Dark Magenta
#960056
ΔE00 2.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F57 #1F9860
analogous
#981F93 #981F57 #98231F
triadic
#981F57 #57981F #1F5798
tetradic
#981F57 #93981F #1F9860 #231F98
square
#981F57 #93981F #1F9860 #231F98
split-complementary
#981F57 #1F9823 #1F9398
monochromatic
#320A1D #65153A #981F57 #CB2974 #DC5594
Accessibility & contrast
On white
7.87
#981F57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#981F57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F57
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F57 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4358
Deuteranopia (green-blind)
#5B5A54
Tritanopia (blue-blind)
#A50738
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #981f57; /* rgb */ color: rgb(152, 31, 87); /* oklch */ color: oklch(45.8% 0.162 358.1);
Tailwind
colors: {
custom: {
50: '#bb6886',
500: '#981f57',
950: '#000000',
},
}SCSS
$custom: #981f57; $custom-light: #bb6886; $custom-dark: #000000;
JSON
{
"hex": "#981f57",
"rgb": {
"r": 152,
"g": 31,
"b": 87
},
"hsl": {
"h": 332.231,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.45832,
"c": 0.16202,
"h": 358.1
},
"luminance": 0.08343
}Semantic roles & 50–950 ramp
primary
#981F57
secondary
#53C08D
accent
#E99A3F
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C