#982C81#982C81
#982C81 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.171 H 337.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #982C81 |
|---|---|
| RGB | rgb(152, 44, 129) |
| HSL | hsl(313, 55%, 38%) |
| HSV | hsv(313, 71%, 60%) |
| CMYK | cmyk(0%, 71.1%, 15.1%, 40.4%) |
| CIE-LAB | lab(37.96, 53.56, -23.92) |
| CIE-LCH | lch(37.96, 58.66, 335.94°) |
| OKLab | oklab(48.77% 0.158 -0.0649) |
| OKLCH | oklch(48.77% 0.171 337.7) |
| XYZ | xyz(17.8124, 10.0634, 21.7689) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.27
Light Eggplant
#894585
ΔE00 5.50
Barney Purple
#A00498
ΔE00 5.52
Red Violet
#9E0168
ΔE00 6.23
Bruise
#7E4071
ΔE00 6.79
Darkmagenta
#8B008B
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982C81 #2C9843
analogous
#792C98 #982C81 #982C4B
triadic
#982C81 #81982C #2C8198
tetradic
#982C81 #98792C #2C9843 #2C4B98
square
#982C81 #98792C #2C9843 #2C4B98
split-complementary
#982C81 #4B982C #2C9879
monochromatic
#391130 #691E59 #982C81 #C63BA9 #D46ABE
Accessibility & contrast
On white
6.97
#982C81 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#982C81 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982C81
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982C81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982C81 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304F83
Deuteranopia (green-blind)
#535F7E
Tritanopia (blue-blind)
#A03153
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #982c81; /* rgb */ color: rgb(152, 44, 129); /* oklch */ color: oklch(48.8% 0.171 337.7);
Tailwind
colors: {
custom: {
50: '#ba6fa6',
500: '#982c81',
950: '#000000',
},
}SCSS
$custom: #982c81; $custom-light: #ba6fa6; $custom-dark: #000000;
JSON
{
"hex": "#982c81",
"rgb": {
"r": 152,
"g": 44,
"b": 129
},
"hsl": {
"h": 312.778,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.48766,
"c": 0.17082,
"h": 337.7
},
"luminance": 0.10062
}Semantic roles & 50–950 ramp
primary
#982C81
secondary
#65BB77
accent
#DE6949
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F