#982A82#982A82

#982A82 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.174 H 337.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#982A82
RGBrgb(152, 42, 130)
HSLhsl(312, 57%, 38%)
HSVhsv(312, 72%, 60%)
CMYKcmyk(0%, 72.4%, 14.5%, 40.4%)
CIE-LABlab(37.74, 54.45, -24.87)
CIE-LCHlch(37.74, 59.86, 335.45°)
OKLaboklab(48.63% 0.1603 -0.0676)
OKLCHoklch(48.63% 0.174 337.1)
XYZxyz(17.8064, 9.9447, 22.0965)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A82 #2A9840
analogous
#772A98 #982A82 #982A4B
triadic
#982A82 #82982A #2A8298
tetradic
#982A82 #98772A #2A9840 #2A4B98
square
#982A82 #98772A #2A9840 #2A4B98
split-complementary
#982A82 #4B982A #2A9877
monochromatic
#381030 #681D59 #982A82 #C837AB #D567BF

Accessibility & contrast

On white

7.03
#982A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#982A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982A82
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A82#FFFFFF#000000##FFFFFF
##982A821.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E84
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A03052
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982a82;
/* rgb */ color: rgb(152, 42, 130);
/* oklch */ color: oklch(48.6% 0.174 337.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ea6',
    500: '#982a82',
    950: '#000000',
  },
}
SCSS
$custom: #982a82;
$custom-light: #ba6ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#982a82",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 312,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48627,
    "c": 0.174,
    "h": 337.1
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#982A82
secondary
#62BB74
accent
#E06648
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982A82

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

Preview Lab → · Contrast checker → · Palette generator →

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