#982A84#982A84

#982A84 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.175 H 336.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#982A84
RGBrgb(152, 42, 132)
HSLhsl(311, 57%, 38%)
HSVhsv(311, 72%, 60%)
CMYKcmyk(0%, 72.4%, 13.2%, 40.4%)
CIE-LABlab(37.84, 54.75, -25.95)
CIE-LCHlch(37.84, 60.59, 334.64°)
OKLaboklab(48.73% 0.1606 -0.0707)
OKLCHoklch(48.73% 0.175 336.2)
XYZxyz(17.9420, 9.9989, 22.8104)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A84 #2A983E
analogous
#752A98 #982A84 #982A4D
triadic
#982A84 #84982A #2A8498
tetradic
#982A84 #98752A #2A983E #2A4D98
square
#982A84 #98752A #2A983E #2A4D98
split-complementary
#982A84 #4D982A #2A9875
monochromatic
#381031 #681D5A #982A84 #C837AE #D567C1

Accessibility & contrast

On white

7.00
#982A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#982A84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982A84
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A84#FFFFFF#000000##FFFFFF
##982A841.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E87
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#A03154
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982a84;
/* rgb */ color: rgb(152, 42, 132);
/* oklch */ color: oklch(48.7% 0.175 336.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ea8',
    500: '#982a84',
    950: '#000000',
  },
}
SCSS
$custom: #982a84;
$custom-light: #ba6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#982a84",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 310.909,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4873,
    "c": 0.17545,
    "h": 336.2
  },
  "luminance": 0.09997
}

Semantic roles & 50–950 ramp

primary
#982A84
secondary
#62BB73
accent
#E06348
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982A84

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

Preview Lab → · Contrast checker → · Palette generator →

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