#981F80#981F80
#981F80 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.185 H 337.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #981F80 |
|---|---|
| RGB | rgb(152, 31, 128) |
| HSL | hsl(312, 66%, 36%) |
| HSV | hsv(312, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 15.8%, 40.4%) |
| CIE-LAB | lab(36.40, 57.71, -25.73) |
| CIE-LCH | lch(36.40, 63.19, 335.97°) |
| OKLab | oklab(47.62% 0.1708 -0.07) |
| OKLCH | oklch(47.62% 0.185 337.7) |
| XYZ | xyz(17.3356, 9.2156, 21.2837) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.55
Barney Purple
#A00498
ΔE00 4.67
Darkmagenta
#8B008B
ΔE00 5.62
Red Violet
#9E0168
ΔE00 5.72
Purple
#800080
ΔE00 6.75
Light Eggplant
#894585
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F80 #1F9837
analogous
#731F98 #981F80 #981F43
triadic
#981F80 #80981F #1F8098
tetradic
#981F80 #98731F #1F9837 #1F4398
square
#981F80 #98731F #1F9837 #1F4398
split-complementary
#981F80 #43981F #1F9873
monochromatic
#320A2A #651555 #981F80 #CB29AB #DC55C2
Accessibility & contrast
On white
7.39
#981F80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#981F80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F80
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F80 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244A83
Deuteranopia (green-blind)
#4F5C7D
Tritanopia (blue-blind)
#A1274E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #981f80; /* rgb */ color: rgb(152, 31, 128); /* oklch */ color: oklch(47.6% 0.185 337.7);
Tailwind
colors: {
custom: {
50: '#ba6aa5',
500: '#981f80',
950: '#000000',
},
}SCSS
$custom: #981f80; $custom-light: #ba6aa5; $custom-dark: #000000;
JSON
{
"hex": "#981f80",
"rgb": {
"r": 152,
"g": 31,
"b": 128
},
"hsl": {
"h": 311.901,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.47624,
"c": 0.18456,
"h": 337.7
},
"luminance": 0.09214
}Semantic roles & 50–950 ramp
primary
#981F80
secondary
#53C069
accent
#E9613F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F