#982C86#982C86

#982C86 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.174 H 335.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#982C86
RGBrgb(152, 44, 134)
HSLhsl(310, 55%, 38%)
HSVhsv(310, 71%, 60%)
CMYKcmyk(0%, 71.1%, 11.8%, 40.4%)
CIE-LABlab(38.20, 54.33, -26.63)
CIE-LCHlch(38.20, 60.50, 333.89°)
OKLaboklab(49.02% 0.1586 -0.0726)
OKLCHoklch(49.02% 0.174 335.4)
XYZxyz(18.1529, 10.1996, 23.5623)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C86 #2C983E
analogous
#742C98 #982C86 #982C50
triadic
#982C86 #86982C #2C8698
tetradic
#982C86 #98742C #2C983E #2C5098
square
#982C86 #98742C #2C983E #2C5098
split-complementary
#982C86 #50982C #2C9874
monochromatic
#391132 #691E5C #982C86 #C63BAF #D46AC2

Accessibility & contrast

On white

6.91
#982C86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#982C86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982C86
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C86#FFFFFF#000000##FFFFFF
##982C861.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5089
Deuteranopia (green-blind)
#516083
Tritanopia (blue-blind)
#A03455
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982c86;
/* rgb */ color: rgb(152, 44, 134);
/* oklch */ color: oklch(49.0% 0.174 335.4);
Tailwind
colors: {
  custom: {
    50: '#ba6fa9',
    500: '#982c86',
    950: '#000000',
  },
}
SCSS
$custom: #982c86;
$custom-light: #ba6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#982c86",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 310,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49021,
    "c": 0.17447,
    "h": 335.4
  },
  "luminance": 0.10198
}

Semantic roles & 50–950 ramp

primary
#982C86
secondary
#65BB73
accent
#DE6249
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982C86

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

Preview Lab → · Contrast checker → · Palette generator →

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