#982172#982172
#982172 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.174 H 344.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #982172 |
|---|---|
| RGB | rgb(152, 33, 114) |
| HSL | hsl(319, 64%, 36%) |
| HSV | hsv(319, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 25%, 40.4%) |
| CIE-LAB | lab(35.95, 55.19, -17.66) |
| CIE-LCH | lch(35.95, 57.95, 342.25°) |
| OKLab | oklab(47.08% 0.167 -0.0471) |
| OKLCH | oklch(47.08% 0.174 344.2) |
| XYZ | xyz(16.5307, 8.9798, 16.7790) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.08
Deep Magenta
#A0025C
ΔE00 5.84
Dark Fuchsia
#9D0759
ΔE00 6.27
Dark Magenta
#960056
ΔE00 6.35
Warm Purple
#952E8F
ΔE00 6.42
Bruise
#7E4071
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982172 #219847
analogous
#832198 #982172 #982137
triadic
#982172 #729821 #217298
tetradic
#982172 #988321 #219847 #213798
square
#982172 #988321 #219847 #213798
split-complementary
#982172 #379821 #219883
monochromatic
#330B27 #66164C #982172 #CA2C98 #DB59B1
Accessibility & contrast
On white
7.51
#982172 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#982172 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982172
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982172 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#555C6F
Tritanopia (blue-blind)
#A22047
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #982172; /* rgb */ color: rgb(152, 33, 114); /* oklch */ color: oklch(47.1% 0.174 344.2);
Tailwind
colors: {
custom: {
50: '#ba6a9a',
500: '#982172',
950: '#000000',
},
}SCSS
$custom: #982172; $custom-light: #ba6a9a; $custom-dark: #000000;
JSON
{
"hex": "#982172",
"rgb": {
"r": 152,
"g": 33,
"b": 114
},
"hsl": {
"h": 319.16,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.47084,
"c": 0.17353,
"h": 344.2
},
"luminance": 0.08978
}Semantic roles & 50–950 ramp
primary
#982172
secondary
#56BF77
accent
#E77640
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E