#982C74#982C74
#982C74 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.162 H 344.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #982C74 |
|---|---|
| RGB | rgb(152, 44, 116) |
| HSL | hsl(320, 55%, 38%) |
| HSV | hsv(320, 71%, 60%) |
| CMYK | cmyk(0%, 71.1%, 23.7%, 40.4%) |
| CIE-LAB | lab(37.37, 51.68, -16.73) |
| CIE-LCH | lch(37.37, 54.32, 342.06°) |
| OKLab | oklab(48.15% 0.1558 -0.0446) |
| OKLCH | oklch(48.15% 0.162 344) |
| XYZ | xyz(17.0026, 9.7395, 17.5041) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.20
Warm Purple
#952E8F
ΔE00 6.28
Bruise
#7E4071
ΔE00 6.35
Deep Magenta
#A0025C
ΔE00 6.40
Light Eggplant
#894585
ΔE00 6.77
Dark Fuchsia
#9D0759
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982C74 #2C9850
analogous
#862C98 #982C74 #982C3E
triadic
#982C74 #74982C #2C7498
tetradic
#982C74 #98862C #2C9850 #2C3E98
square
#982C74 #98862C #2C9850 #2C3E98
split-complementary
#982C74 #3E982C #2C9886
monochromatic
#39112C #691E50 #982C74 #C63B98 #D46AB1
Accessibility & contrast
On white
7.12
#982C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#982C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982C74
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982C74 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374C76
Deuteranopia (green-blind)
#585E71
Tritanopia (blue-blind)
#A22B4C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #982c74; /* rgb */ color: rgb(152, 44, 116); /* oklch */ color: oklch(48.1% 0.162 344.0);
Tailwind
colors: {
custom: {
50: '#ba6e9c',
500: '#982c74',
950: '#000000',
},
}SCSS
$custom: #982c74; $custom-light: #ba6e9c; $custom-dark: #000000;
JSON
{
"hex": "#982c74",
"rgb": {
"r": 152,
"g": 44,
"b": 116
},
"hsl": {
"h": 320,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.48149,
"c": 0.16201,
"h": 344
},
"luminance": 0.09738
}Semantic roles & 50–950 ramp
primary
#982C74
secondary
#65BB82
accent
#DE7B49
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E