#982183#982183
#982183 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.185 H 336.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #982183 |
|---|---|
| RGB | rgb(152, 33, 131) |
| HSL | hsl(311, 64%, 36%) |
| HSV | hsv(311, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 13.8%, 40.4%) |
| CIE-LAB | lab(36.75, 57.56, -27.04) |
| CIE-LCH | lch(36.75, 63.60, 334.84°) |
| OKLab | oklab(47.93% 0.1693 -0.0737) |
| OKLCH | oklch(47.93% 0.185 336.5) |
| XYZ | xyz(17.5898, 9.4035, 22.3570) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.94
Barney Purple
#A00498
ΔE00 4.20
Darkmagenta
#8B008B
ΔE00 5.38
Red Violet
#9E0168
ΔE00 6.32
Purple
#800080
ΔE00 6.68
Light Eggplant
#894585
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982183 #219836
analogous
#722198 #982183 #982148
triadic
#982183 #839821 #218398
tetradic
#982183 #987221 #219836 #214898
square
#982183 #987221 #219836 #214898
split-complementary
#982183 #489821 #219872
monochromatic
#330B2C #661658 #982183 #CA2CAE #DB59C4
Accessibility & contrast
On white
7.29
#982183 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#982183 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982183
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982183 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982183 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244B86
Deuteranopia (green-blind)
#4E5D80
Tritanopia (blue-blind)
#A02A50
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #982183; /* rgb */ color: rgb(152, 33, 131); /* oklch */ color: oklch(47.9% 0.185 336.5);
Tailwind
colors: {
custom: {
50: '#ba6aa7',
500: '#982183',
950: '#000000',
},
}SCSS
$custom: #982183; $custom-light: #ba6aa7; $custom-dark: #000000;
JSON
{
"hex": "#982183",
"rgb": {
"r": 152,
"g": 33,
"b": 131
},
"hsl": {
"h": 310.588,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.47927,
"c": 0.18467,
"h": 336.5
},
"luminance": 0.09402
}Semantic roles & 50–950 ramp
primary
#982183
secondary
#56BF68
accent
#E75E40
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F