#982C82#982C82

#982C82 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.172 H 337.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#982C82
RGBrgb(152, 44, 130)
HSLhsl(312, 55%, 38%)
HSVhsv(312, 71%, 60%)
CMYKcmyk(0%, 71.1%, 14.5%, 40.4%)
CIE-LABlab(38.00, 53.71, -24.46)
CIE-LCHlch(38.00, 59.02, 335.51°)
OKLaboklab(48.82% 0.1582 -0.0664)
OKLCHoklch(48.82% 0.172 337.2)
XYZxyz(17.8792, 10.0901, 22.1207)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C82 #2C9842
analogous
#782C98 #982C82 #982C4C
triadic
#982C82 #82982C #2C8298
tetradic
#982C82 #98782C #2C9842 #2C4C98
square
#982C82 #98782C #2C9842 #2C4C98
split-complementary
#982C82 #4C982C #2C9878
monochromatic
#391131 #691E59 #982C82 #C63BAA #D46ABE

Accessibility & contrast

On white

6.96
#982C82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#982C82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982C82
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C82#FFFFFF#000000##FFFFFF
##982C821.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#535F7F
Tritanopia (blue-blind)
#A03253
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982c82;
/* rgb */ color: rgb(152, 44, 130);
/* oklch */ color: oklch(48.8% 0.172 337.2);
Tailwind
colors: {
  custom: {
    50: '#ba6fa6',
    500: '#982c82',
    950: '#000000',
  },
}
SCSS
$custom: #982c82;
$custom-light: #ba6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#982c82",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 312.222,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48816,
    "c": 0.17154,
    "h": 337.2
  },
  "luminance": 0.10088
}

Semantic roles & 50–950 ramp

primary
#982C82
secondary
#65BB77
accent
#DE6849
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982C82

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

Preview Lab → · Contrast checker → · Palette generator →

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