#982180#982180
#982180 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.183 H 337.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #982180 |
|---|---|
| RGB | rgb(152, 33, 128) |
| HSL | hsl(312, 64%, 36%) |
| HSV | hsv(312, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 15.8%, 40.4%) |
| CIE-LAB | lab(36.60, 57.13, -25.42) |
| CIE-LCH | lch(36.60, 62.52, 336.02°) |
| OKLab | oklab(47.77% 0.169 -0.0691) |
| OKLCH | oklch(47.77% 0.183 337.8) |
| XYZ | xyz(17.3894, 9.3233, 21.3016) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.48
Barney Purple
#A00498
ΔE00 4.78
Red Violet
#9E0168
ΔE00 5.73
Darkmagenta
#8B008B
ΔE00 5.81
Light Eggplant
#894585
ΔE00 6.76
Purple
#800080
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982180 #219839
analogous
#752198 #982180 #982145
triadic
#982180 #809821 #218098
tetradic
#982180 #987521 #219839 #214598
square
#982180 #987521 #219839 #214598
split-complementary
#982180 #459821 #219875
monochromatic
#330B2B #661656 #982180 #CA2CAA #DB59C1
Accessibility & contrast
On white
7.33
#982180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#982180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982180
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982180 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264A83
Deuteranopia (green-blind)
#505D7D
Tritanopia (blue-blind)
#A1284F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #982180; /* rgb */ color: rgb(152, 33, 128); /* oklch */ color: oklch(47.8% 0.183 337.8);
Tailwind
colors: {
custom: {
50: '#ba6aa5',
500: '#982180',
950: '#000000',
},
}SCSS
$custom: #982180; $custom-light: #ba6aa5; $custom-dark: #000000;
JSON
{
"hex": "#982180",
"rgb": {
"r": 152,
"g": 33,
"b": 128
},
"hsl": {
"h": 312.101,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.4777,
"c": 0.18259,
"h": 337.8
},
"luminance": 0.09322
}Semantic roles & 50–950 ramp
primary
#982180
secondary
#56BF6B
accent
#E76240
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F