#982E7D#982E7D
#982E7D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.165 H 339.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #982E7D |
|---|---|
| RGB | rgb(152, 46, 125) |
| HSL | hsl(315, 54%, 39%) |
| HSV | hsv(315, 70%, 60%) |
| CMYK | cmyk(0%, 69.7%, 17.8%, 40.4%) |
| CIE-LAB | lab(38.04, 52.20, -21.31) |
| CIE-LCH | lch(38.04, 56.38, 337.80°) |
| OKLab | oklab(48.77% 0.1551 -0.0575) |
| OKLCH | oklch(48.77% 0.165 339.7) |
| XYZ | xyz(17.6280, 10.1117, 20.4214) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.27
Light Eggplant
#894585
ΔE00 5.54
Red Violet
#9E0168
ΔE00 5.67
Bruise
#7E4071
ΔE00 6.33
Barney Purple
#A00498
ΔE00 6.52
Ugly Purple
#A442A0
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982E7D #2E9849
analogous
#7E2E98 #982E7D #982E48
triadic
#982E7D #7D982E #2E7D98
tetradic
#982E7D #987E2E #2E9849 #2E4898
square
#982E7D #987E2E #2E9849 #2E4898
split-complementary
#982E7D #48982E #2E987E
monochromatic
#3A1230 #692056 #982E7D #C53EA3 #D36DB9
Accessibility & contrast
On white
6.95
#982E7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#982E7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #982E7D
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982E7D | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344F7F
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#A13151
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #982e7d; /* rgb */ color: rgb(152, 46, 125); /* oklch */ color: oklch(48.8% 0.165 339.7);
Tailwind
colors: {
custom: {
50: '#ba70a3',
500: '#982e7d',
950: '#000000',
},
}SCSS
$custom: #982e7d; $custom-light: #ba70a3; $custom-dark: #000000;
JSON
{
"hex": "#982e7d",
"rgb": {
"r": 152,
"g": 46,
"b": 125
},
"hsl": {
"h": 315.283,
"s": 53.535,
"l": 38.824
},
"oklch": {
"l": 0.48768,
"c": 0.16542,
"h": 339.7
},
"luminance": 0.1011
}Semantic roles & 50–950 ramp
primary
#982E7D
secondary
#68BA7D
accent
#DD704B
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F