#981F50#981F50
#981F50 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.160 H 2.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #981F50 |
|---|---|
| RGB | rgb(152, 31, 80) |
| HSL | hsl(336, 66%, 36%) |
| HSV | hsv(336, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 47.4%, 40.4%) |
| CIE-LAB | lab(34.47, 51.98, 1.90) |
| CIE-LCH | lch(34.47, 52.02, 2.09°) |
| OKLab | oklab(45.6% 0.1595 0.0054) |
| OKLCH | oklch(45.6% 0.16 2) |
| XYZ | xyz(14.8881, 8.2366, 8.3937) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.63
Purple Red
#990147
ΔE00 2.65
Violet Red
#A50055
ΔE00 2.87
Mulberry
#920A4E
ΔE00 2.94
Dark Fuchsia
#9D0759
ΔE00 3.57
Reddish Purple
#910951
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F50 #1F9867
analogous
#981F8C #981F50 #982A1F
triadic
#981F50 #50981F #1F5098
tetradic
#981F50 #8C981F #1F9867 #2A1F98
square
#981F50 #8C981F #1F9867 #2A1F98
split-complementary
#981F50 #1F982A #1F8C98
monochromatic
#320A1A #651535 #981F50 #CB296B #DC558C
Accessibility & contrast
On white
7.93
#981F50 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#981F50 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F50
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F50 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4251
Deuteranopia (green-blind)
#5D594D
Tritanopia (blue-blind)
#A60035
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #981f50; /* rgb */ color: rgb(152, 31, 80); /* oklch */ color: oklch(45.6% 0.160 2.0);
Tailwind
colors: {
custom: {
50: '#bc6880',
500: '#981f50',
950: '#000000',
},
}SCSS
$custom: #981f50; $custom-light: #bc6880; $custom-dark: #000000;
JSON
{
"hex": "#981f50",
"rgb": {
"r": 152,
"g": 31,
"b": 80
},
"hsl": {
"h": 335.702,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.45597,
"c": 0.15962,
"h": 2
},
"luminance": 0.08235
}Semantic roles & 50–950 ramp
primary
#981F50
secondary
#53C094
accent
#E9A43F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C