#982080#982080
#982080 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.184 H 337.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #982080 |
|---|---|
| RGB | rgb(152, 32, 128) |
| HSL | hsl(312, 65%, 36%) |
| HSV | hsv(312, 79%, 60%) |
| CMYK | cmyk(0%, 78.9%, 15.8%, 40.4%) |
| CIE-LAB | lab(36.50, 57.42, -25.58) |
| CIE-LCH | lch(36.50, 62.86, 335.99°) |
| OKLab | oklab(47.7% 0.1699 -0.0695) |
| OKLCH | oklch(47.7% 0.184 337.7) |
| XYZ | xyz(17.3621, 9.2686, 21.2925) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.51
Barney Purple
#A00498
ΔE00 4.72
Darkmagenta
#8B008B
ΔE00 5.71
Red Violet
#9E0168
ΔE00 5.72
Purple
#800080
ΔE00 6.84
Light Eggplant
#894585
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982080 #209838
analogous
#742098 #982080 #982044
triadic
#982080 #809820 #208098
tetradic
#982080 #987420 #209838 #204498
square
#982080 #987420 #209838 #204498
split-complementary
#982080 #449820 #209874
monochromatic
#330B2B #651555 #982080 #CB2BAB #DC57C1
Accessibility & contrast
On white
7.36
#982080 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#982080 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982080
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982080 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982080 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254A83
Deuteranopia (green-blind)
#4F5C7D
Tritanopia (blue-blind)
#A1274E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #982080; /* rgb */ color: rgb(152, 32, 128); /* oklch */ color: oklch(47.7% 0.184 337.7);
Tailwind
colors: {
custom: {
50: '#ba6aa5',
500: '#982080',
950: '#000000',
},
}SCSS
$custom: #982080; $custom-light: #ba6aa5; $custom-dark: #000000;
JSON
{
"hex": "#982080",
"rgb": {
"r": 152,
"g": 32,
"b": 128
},
"hsl": {
"h": 312,
"s": 65.217,
"l": 36.078
},
"oklch": {
"l": 0.47696,
"c": 0.18359,
"h": 337.7
},
"luminance": 0.09267
}Semantic roles & 50–950 ramp
primary
#982080
secondary
#54BF6A
accent
#E86140
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F