#982177#982177
#982177 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.177 H 341.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #982177 |
|---|---|
| RGB | rgb(152, 33, 119) |
| HSL | hsl(317, 64%, 36%) |
| HSV | hsv(317, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 21.7%, 40.4%) |
| CIE-LAB | lab(36.17, 55.86, -20.46) |
| CIE-LCH | lch(36.17, 59.49, 339.88°) |
| OKLab | oklab(47.32% 0.1679 -0.055) |
| OKLCH | oklch(47.32% 0.177 341.9) |
| XYZ | xyz(16.8231, 9.0968, 18.3191) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.97
Warm Purple
#952E8F
ΔE00 5.31
Barney Purple
#A00498
ΔE00 6.64
Deep Magenta
#A0025C
ΔE00 6.91
Bruise
#7E4071
ΔE00 7.27
Light Eggplant
#894585
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982177 #219842
analogous
#7E2198 #982177 #98213C
triadic
#982177 #779821 #217798
tetradic
#982177 #987E21 #219842 #213C98
square
#982177 #987E21 #219842 #213C98
split-complementary
#982177 #3C9821 #21987E
monochromatic
#330B28 #661650 #982177 #CA2C9E #DB59B7
Accessibility & contrast
On white
7.45
#982177 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#982177 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982177
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982177 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982177 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4979
Deuteranopia (green-blind)
#535C74
Tritanopia (blue-blind)
#A2234A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #982177; /* rgb */ color: rgb(152, 33, 119); /* oklch */ color: oklch(47.3% 0.177 341.9);
Tailwind
colors: {
custom: {
50: '#ba6a9e',
500: '#982177',
950: '#000000',
},
}SCSS
$custom: #982177; $custom-light: #ba6a9e; $custom-dark: #000000;
JSON
{
"hex": "#982177",
"rgb": {
"r": 152,
"g": 33,
"b": 119
},
"hsl": {
"h": 316.639,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.4732,
"c": 0.17664,
"h": 341.9
},
"luminance": 0.09095
}Semantic roles & 50–950 ramp
primary
#982177
secondary
#56BF73
accent
#E76F40
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E