#982162#982162
#982162 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.165 H 352.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #982162 |
|---|---|
| RGB | rgb(152, 33, 98) |
| HSL | hsl(327, 64%, 36%) |
| HSV | hsv(327, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 35.5%, 40.4%) |
| CIE-LAB | lab(35.30, 53.23, -8.49) |
| CIE-LCH | lch(35.30, 53.90, 350.94°) |
| OKLab | oklab(46.4% 0.1633 -0.0219) |
| OKLCH | oklch(46.4% 0.165 352.4) |
| XYZ | xyz(15.6983, 8.6469, 12.3952) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.67
Dark Fuchsia
#9D0759
ΔE00 2.80
Red Violet
#9E0168
ΔE00 2.92
Dark Magenta
#960056
ΔE00 3.28
Reddish Purple
#910951
ΔE00 4.00
Mulberry
#920A4E
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982162 #219857
analogous
#932198 #982162 #982127
triadic
#982162 #629821 #216298
tetradic
#982162 #989321 #219857 #212798
square
#982162 #989321 #219857 #212798
split-complementary
#982162 #279821 #219893
monochromatic
#330B21 #661642 #982162 #CA2C82 #DB59A0
Accessibility & contrast
On white
7.70
#982162 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#982162 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982162
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982162 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374564
Deuteranopia (green-blind)
#595B5F
Tritanopia (blue-blind)
#A4153F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #982162; /* rgb */ color: rgb(152, 33, 98); /* oklch */ color: oklch(46.4% 0.165 352.4);
Tailwind
colors: {
custom: {
50: '#bb698e',
500: '#982162',
950: '#000000',
},
}SCSS
$custom: #982162; $custom-light: #bb698e; $custom-dark: #000000;
JSON
{
"hex": "#982162",
"rgb": {
"r": 152,
"g": 33,
"b": 98
},
"hsl": {
"h": 327.227,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.46399,
"c": 0.16476,
"h": 352.4
},
"luminance": 0.08645
}Semantic roles & 50–950 ramp
primary
#982162
secondary
#56BF86
accent
#E78C40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D