#982179#982179
#982179 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.178 H 340.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #982179 |
|---|---|
| RGB | rgb(152, 33, 121) |
| HSL | hsl(316, 64%, 36%) |
| HSV | hsv(316, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 20.4%, 40.4%) |
| CIE-LAB | lab(36.26, 56.14, -21.57) |
| CIE-LCH | lch(36.26, 60.14, 338.98°) |
| OKLab | oklab(47.42% 0.1682 -0.0581) |
| OKLCH | oklch(47.42% 0.178 340.9) |
| XYZ | xyz(16.9445, 9.1453, 18.9583) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.35
Warm Purple
#952E8F
ΔE00 4.89
Barney Purple
#A00498
ΔE00 6.21
Darkmagenta
#8B008B
ΔE00 6.97
Light Eggplant
#894585
ΔE00 7.14
Bruise
#7E4071
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982179 #219840
analogous
#7C2198 #982179 #98213E
triadic
#982179 #799821 #217998
tetradic
#982179 #987C21 #219840 #213E98
square
#982179 #987C21 #219840 #213E98
split-complementary
#982179 #3E9821 #21987C
monochromatic
#330B29 #661651 #982179 #CA2CA1 #DB59B9
Accessibility & contrast
On white
7.42
#982179 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#982179 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982179
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982179 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982179 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#525C76
Tritanopia (blue-blind)
#A2244B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #982179; /* rgb */ color: rgb(152, 33, 121); /* oklch */ color: oklch(47.4% 0.178 340.9);
Tailwind
colors: {
custom: {
50: '#ba6aa0',
500: '#982179',
950: '#000000',
},
}SCSS
$custom: #982179; $custom-light: #ba6aa0; $custom-dark: #000000;
JSON
{
"hex": "#982179",
"rgb": {
"r": 152,
"g": 33,
"b": 121
},
"hsl": {
"h": 315.63,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.47417,
"c": 0.17793,
"h": 340.9
},
"luminance": 0.09144
}Semantic roles & 50–950 ramp
primary
#982179
secondary
#56BF71
accent
#E76C40
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E