#982D84#982D84

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

Color values

HEX#982D84
RGBrgb(152, 45, 132)
HSLhsl(311, 54%, 39%)
HSVhsv(311, 70%, 60%)
CMYKcmyk(0%, 70.4%, 13.2%, 40.4%)
CIE-LABlab(38.23, 53.64, -25.34)
CIE-LCHlch(38.23, 59.33, 334.71°)
OKLaboklab(49.02% 0.1573 -0.0689)
OKLCHoklch(49.02% 0.172 336.3)
XYZxyz(18.0524, 10.2197, 22.8472)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D84 #2D9841
analogous
#762D98 #982D84 #982D4E
triadic
#982D84 #84982D #2D8498
tetradic
#982D84 #98762D #2D9841 #2D4E98
square
#982D84 #98762D #2D9841 #2D4E98
split-complementary
#982D84 #4E982D #2D9876
monochromatic
#3A1132 #691F5B #982D84 #C53DAC #D36CC0

Accessibility & contrast

On white

6.90
#982D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982D84
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D84#FFFFFF#000000##FFFFFF
##982D841.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982d84;
/* rgb */ color: rgb(152, 45, 132);
/* oklch */ color: oklch(49.0% 0.172 336.3);
Tailwind
colors: {
  custom: {
    50: '#ba6fa8',
    500: '#982d84',
    950: '#000000',
  },
}
SCSS
$custom: #982d84;
$custom-light: #ba6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#982d84",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 311.215,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49015,
    "c": 0.17174,
    "h": 336.3
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#982D84
secondary
#66BA76
accent
#DE664A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982D84

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

Preview Lab → · Contrast checker → · Palette generator →

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