#982D82#982D82

#982D82 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.170 H 337.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#982D82
RGBrgb(152, 45, 130)
HSLhsl(312, 54%, 39%)
HSVhsv(312, 70%, 60%)
CMYKcmyk(0%, 70.4%, 14.5%, 40.4%)
CIE-LABlab(38.14, 53.34, -24.25)
CIE-LCHlch(38.14, 58.59, 335.55°)
OKLaboklab(48.91% 0.157 -0.0659)
OKLCHoklch(48.91% 0.17 337.2)
XYZxyz(17.9169, 10.1655, 22.1333)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D82 #2D9843
analogous
#782D98 #982D82 #982D4C
triadic
#982D82 #82982D #2D8298
tetradic
#982D82 #98782D #2D9843 #2D4C98
square
#982D82 #98782D #2D9843 #2D4C98
split-complementary
#982D82 #4C982D #2D9878
monochromatic
#3A1131 #691F5A #982D82 #C53DA9 #D36CBE

Accessibility & contrast

On white

6.92
#982D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#982D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982D82
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D82#FFFFFF#000000##FFFFFF
##982D821.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#53607F
Tritanopia (blue-blind)
#A03353
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982d82;
/* rgb */ color: rgb(152, 45, 130);
/* oklch */ color: oklch(48.9% 0.170 337.2);
Tailwind
colors: {
  custom: {
    50: '#ba6fa6',
    500: '#982d82',
    950: '#000000',
  },
}
SCSS
$custom: #982d82;
$custom-light: #ba6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#982d82",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 312.336,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48914,
    "c": 0.17027,
    "h": 337.2
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

primary
#982D82
secondary
#66BA78
accent
#DE684A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982D82

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#982D82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva