#982C71#982C71
#982C71 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.160 H 345.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #982C71 |
|---|---|
| RGB | rgb(152, 44, 113) |
| HSL | hsl(322, 55%, 38%) |
| HSV | hsv(322, 71%, 60%) |
| CMYK | cmyk(0%, 71.1%, 25.7%, 40.4%) |
| CIE-LAB | lab(37.24, 51.27, -15.04) |
| CIE-LCH | lch(37.24, 53.43, 343.65°) |
| OKLab | oklab(48.02% 0.1551 -0.0399) |
| OKLCH | oklch(48.02% 0.16 345.6) |
| XYZ | xyz(16.8309, 9.6708, 16.5999) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.90
Deep Magenta
#A0025C
ΔE00 5.82
Dark Fuchsia
#9D0759
ΔE00 6.18
Bruise
#7E4071
ΔE00 6.46
Dark Magenta
#960056
ΔE00 6.54
Warm Purple
#952E8F
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982C71 #2C9853
analogous
#892C98 #982C71 #982C3B
triadic
#982C71 #71982C #2C7198
tetradic
#982C71 #98892C #2C9853 #2C3B98
square
#982C71 #98892C #2C9853 #2C3B98
split-complementary
#982C71 #3B982C #2C9889
monochromatic
#39112A #691E4E #982C71 #C63B94 #D46AAE
Accessibility & contrast
On white
7.16
#982C71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#982C71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982C71
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982C71 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#595E6E
Tritanopia (blue-blind)
#A22A4A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #982c71; /* rgb */ color: rgb(152, 44, 113); /* oklch */ color: oklch(48.0% 0.160 345.6);
Tailwind
colors: {
custom: {
50: '#ba6e9a',
500: '#982c71',
950: '#000000',
},
}SCSS
$custom: #982c71; $custom-light: #ba6e9a; $custom-dark: #000000;
JSON
{
"hex": "#982c71",
"rgb": {
"r": 152,
"g": 44,
"b": 113
},
"hsl": {
"h": 321.667,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.48016,
"c": 0.16015,
"h": 345.6
},
"luminance": 0.09669
}Semantic roles & 50–950 ramp
primary
#982C71
secondary
#65BB84
accent
#DE7F49
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E