#982173#982173
#982173 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.174 H 343.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #982173 |
|---|---|
| RGB | rgb(152, 33, 115) |
| HSL | hsl(319, 64%, 36%) |
| HSV | hsv(319, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 24.3%, 40.4%) |
| CIE-LAB | lab(35.99, 55.33, -18.23) |
| CIE-LCH | lch(35.99, 58.25, 341.77°) |
| OKLab | oklab(47.13% 0.1672 -0.0487) |
| OKLCH | oklch(47.13% 0.174 343.8) |
| XYZ | xyz(16.5879, 9.0027, 17.0805) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.24
Deep Magenta
#A0025C
ΔE00 6.06
Warm Purple
#952E8F
ΔE00 6.19
Dark Fuchsia
#9D0759
ΔE00 6.49
Dark Magenta
#960056
ΔE00 6.56
Bruise
#7E4071
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982173 #219846
analogous
#822198 #982173 #982138
triadic
#982173 #739821 #217398
tetradic
#982173 #988221 #219846 #213898
square
#982173 #988221 #219846 #213898
split-complementary
#982173 #389821 #219882
monochromatic
#330B27 #66164D #982173 #CA2C99 #DB59B2
Accessibility & contrast
On white
7.50
#982173 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#982173 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982173
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982173 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982173 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#545C70
Tritanopia (blue-blind)
#A22148
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #982173; /* rgb */ color: rgb(152, 33, 115); /* oklch */ color: oklch(47.1% 0.174 343.8);
Tailwind
colors: {
custom: {
50: '#ba6a9b',
500: '#982173',
950: '#000000',
},
}SCSS
$custom: #982173; $custom-light: #ba6a9b; $custom-dark: #000000;
JSON
{
"hex": "#982173",
"rgb": {
"r": 152,
"g": 33,
"b": 115
},
"hsl": {
"h": 318.655,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.47131,
"c": 0.17414,
"h": 343.8
},
"luminance": 0.09001
}Semantic roles & 50–950 ramp
primary
#982173
secondary
#56BF77
accent
#E77440
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E