#981F53#981F53
#981F53 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.161 H 0.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #981F53 |
|---|---|
| RGB | rgb(152, 31, 83) |
| HSL | hsl(334, 66%, 36%) |
| HSV | hsv(334, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 45.4%, 40.4%) |
| CIE-LAB | lab(34.56, 52.26, 0.09) |
| CIE-LCH | lch(34.56, 52.27, 0.10°) |
| OKLab | oklab(45.7% 0.1606 0.0008) |
| OKLCH | oklch(45.7% 0.161 0.3) |
| XYZ | xyz(15.0014, 8.2819, 8.9906) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.15
Mulberry
#920A4E
ΔE00 2.63
Violet Red
#A50055
ΔE00 2.64
Dark Fuchsia
#9D0759
ΔE00 2.83
Reddish Purple
#910951
ΔE00 3.17
Purple Red
#990147
ΔE00 3.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F53 #1F9864
analogous
#981F8F #981F53 #98281F
triadic
#981F53 #53981F #1F5398
tetradic
#981F53 #8F981F #1F9864 #281F98
square
#981F53 #8F981F #1F9864 #281F98
split-complementary
#981F53 #1F9828 #1F8F98
monochromatic
#320A1B #651537 #981F53 #CB296F #DC558F
Accessibility & contrast
On white
7.91
#981F53 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#981F53 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F53
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F53 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F53 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4354
Deuteranopia (green-blind)
#5C5A50
Tritanopia (blue-blind)
#A50336
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #981f53; /* rgb */ color: rgb(152, 31, 83); /* oklch */ color: oklch(45.7% 0.161 0.3);
Tailwind
colors: {
custom: {
50: '#bc6883',
500: '#981f53',
950: '#000000',
},
}SCSS
$custom: #981f53; $custom-light: #bc6883; $custom-dark: #000000;
JSON
{
"hex": "#981f53",
"rgb": {
"r": 152,
"g": 31,
"b": 83
},
"hsl": {
"h": 334.215,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.45695,
"c": 0.16058,
"h": 0.3
},
"luminance": 0.0828
}Semantic roles & 50–950 ramp
primary
#981F53
secondary
#53C091
accent
#E9A03F
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C