#982166#982166
#982166 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.167 H 350.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #982166 |
|---|---|
| RGB | rgb(152, 33, 102) |
| HSL | hsl(325, 64%, 36%) |
| HSV | hsv(325, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 32.9%, 40.4%) |
| CIE-LAB | lab(35.45, 53.70, -10.82) |
| CIE-LCH | lch(35.45, 54.77, 348.61°) |
| OKLab | oklab(46.56% 0.1644 -0.0282) |
| OKLCH | oklch(46.56% 0.167 350.3) |
| XYZ | xyz(15.8919, 8.7243, 13.4149) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.37
Deep Magenta
#A0025C
ΔE00 3.34
Dark Fuchsia
#9D0759
ΔE00 3.60
Dark Magenta
#960056
ΔE00 3.91
Reddish Purple
#910951
ΔE00 4.77
Mulberry
#920A4E
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982166 #219853
analogous
#8F2198 #982166 #98212B
triadic
#982166 #669821 #216698
tetradic
#982166 #988F21 #219853 #212B98
square
#982166 #988F21 #219853 #212B98
split-complementary
#982166 #2B9821 #21988F
monochromatic
#330B23 #661644 #982166 #CA2C88 #DB59A4
Accessibility & contrast
On white
7.65
#982166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#982166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982166
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982166 | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364668
Deuteranopia (green-blind)
#585B63
Tritanopia (blue-blind)
#A41841
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #982166; /* rgb */ color: rgb(152, 33, 102); /* oklch */ color: oklch(46.6% 0.167 350.3);
Tailwind
colors: {
custom: {
50: '#bb6991',
500: '#982166',
950: '#000000',
},
}SCSS
$custom: #982166; $custom-light: #bb6991; $custom-dark: #000000;
JSON
{
"hex": "#982166",
"rgb": {
"r": 152,
"g": 33,
"b": 102
},
"hsl": {
"h": 325.21,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.4656,
"c": 0.16676,
"h": 350.3
},
"luminance": 0.08722
}Semantic roles & 50–950 ramp
primary
#982166
secondary
#56BF82
accent
#E78740
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D