#982C79#982C79

#982C79 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.165 H 341.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#982C79
RGBrgb(152, 44, 121)
HSLhsl(317, 55%, 38%)
HSVhsv(317, 71%, 60%)
CMYKcmyk(0%, 71.1%, 20.4%, 40.4%)
CIE-LABlab(37.59, 52.38, -19.52)
CIE-LCHlch(37.59, 55.90, 339.56°)
OKLaboklab(48.38% 0.1567 -0.0524)
OKLCHoklch(48.38% 0.165 341.5)
XYZxyz(17.3013, 9.8589, 19.0772)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C79 #2C984B
analogous
#812C98 #982C79 #982C43
triadic
#982C79 #79982C #2C7998
tetradic
#982C79 #98812C #2C984B #2C4398
square
#982C79 #98812C #2C984B #2C4398
split-complementary
#982C79 #43982C #2C9881
monochromatic
#39112D #691E53 #982C79 #C63B9E #D46AB6

Accessibility & contrast

On white

7.07
#982C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#982C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982C79
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C79#FFFFFF#000000##FFFFFF
##982C791.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7B
Deuteranopia (green-blind)
#565F76
Tritanopia (blue-blind)
#A12E4E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982c79;
/* rgb */ color: rgb(152, 44, 121);
/* oklch */ color: oklch(48.4% 0.165 341.5);
Tailwind
colors: {
  custom: {
    50: '#ba6fa0',
    500: '#982c79',
    950: '#000000',
  },
}
SCSS
$custom: #982c79;
$custom-light: #ba6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#982c79",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 317.222,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48379,
    "c": 0.16527,
    "h": 341.5
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#982C79
secondary
#65BB7E
accent
#DE7449
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982C79

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

Preview Lab → · Contrast checker → · Palette generator →

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