#982472#982472
#982472 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.170 H 344.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #982472 |
|---|---|
| RGB | rgb(152, 36, 114) |
| HSL | hsl(320, 62%, 37%) |
| HSV | hsv(320, 76%, 60%) |
| CMYK | cmyk(0%, 76.3%, 25%, 40.4%) |
| CIE-LAB | lab(36.28, 54.25, -17.15) |
| CIE-LCH | lch(36.28, 56.89, 342.45°) |
| OKLab | oklab(47.33% 0.1641 -0.0457) |
| OKLCH | oklch(47.33% 0.17 344.4) |
| XYZ | xyz(16.6177, 9.1538, 16.8081) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.25
Deep Magenta
#A0025C
ΔE00 5.84
Dark Fuchsia
#9D0759
ΔE00 6.26
Dark Magenta
#960056
ΔE00 6.41
Warm Purple
#952E8F
ΔE00 6.46
Bruise
#7E4071
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982472 #24984A
analogous
#842498 #982472 #982438
triadic
#982472 #729824 #247298
tetradic
#982472 #988424 #24984A #243898
square
#982472 #988424 #24984A #243898
split-complementary
#982472 #389824 #249884
monochromatic
#350D28 #67184D #982472 #C93097 #D95EB0
Accessibility & contrast
On white
7.42
#982472 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#982472 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982472
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982472 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982472 | 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)
#324974
Deuteranopia (green-blind)
#565C6F
Tritanopia (blue-blind)
#A22348
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #982472; /* rgb */ color: rgb(152, 36, 114); /* oklch */ color: oklch(47.3% 0.170 344.4);
Tailwind
colors: {
custom: {
50: '#ba6b9a',
500: '#982472',
950: '#000000',
},
}SCSS
$custom: #982472; $custom-light: #ba6b9a; $custom-dark: #000000;
JSON
{
"hex": "#982472",
"rgb": {
"r": 152,
"g": 36,
"b": 114
},
"hsl": {
"h": 319.655,
"s": 61.702,
"l": 36.863
},
"oklch": {
"l": 0.47326,
"c": 0.17032,
"h": 344.4
},
"luminance": 0.09152
}Semantic roles & 50–950 ramp
primary
#982472
secondary
#5ABE7B
accent
#E57843
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E