#982980#982980
#982980 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.174 H 338.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #982980 |
|---|---|
| RGB | rgb(152, 41, 128) |
| HSL | hsl(313, 58%, 38%) |
| HSV | hsv(313, 73%, 60%) |
| CMYK | cmyk(0%, 73%, 15.8%, 40.4%) |
| CIE-LAB | lab(37.52, 54.51, -23.98) |
| CIE-LCH | lch(37.52, 59.55, 336.25°) |
| OKLab | oklab(48.44% 0.1612 -0.065) |
| OKLCH | oklch(48.44% 0.174 338) |
| XYZ | xyz(17.6385, 9.8214, 21.3847) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.41
Barney Purple
#A00498
ΔE00 5.40
Light Eggplant
#894585
ΔE00 5.89
Red Violet
#9E0168
ΔE00 5.92
Darkmagenta
#8B008B
ΔE00 6.70
Bruise
#7E4071
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982980 #299841
analogous
#782998 #982980 #982948
triadic
#982980 #809829 #298098
tetradic
#982980 #987829 #299841 #294898
square
#982980 #987829 #299841 #294898
split-complementary
#982980 #489829 #299878
monochromatic
#380F2F #681C57 #982980 #C836A9 #D666BD
Accessibility & contrast
On white
7.09
#982980 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#982980 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982980
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982980 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982980 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4D82
Deuteranopia (green-blind)
#525E7D
Tritanopia (blue-blind)
#A02F51
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #982980; /* rgb */ color: rgb(152, 41, 128); /* oklch */ color: oklch(48.4% 0.174 338.0);
Tailwind
colors: {
custom: {
50: '#ba6ea5',
500: '#982980',
950: '#000000',
},
}SCSS
$custom: #982980; $custom-light: #ba6ea5; $custom-dark: #000000;
JSON
{
"hex": "#982980",
"rgb": {
"r": 152,
"g": 41,
"b": 128
},
"hsl": {
"h": 312.973,
"s": 57.513,
"l": 37.843
},
"oklch": {
"l": 0.48435,
"c": 0.17379,
"h": 338
},
"luminance": 0.0982
}Semantic roles & 50–950 ramp
primary
#982980
secondary
#61BC75
accent
#E16847
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F