#982E84#982E84

#982E84 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.170 H 336.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#982E84
RGBrgb(152, 46, 132)
HSLhsl(311, 54%, 39%)
HSVhsv(311, 70%, 60%)
CMYKcmyk(0%, 69.7%, 13.2%, 40.4%)
CIE-LABlab(38.37, 53.26, -25.13)
CIE-LCHlch(38.37, 58.89, 334.74°)
OKLaboklab(49.11% 0.1562 -0.0683)
OKLCHoklch(49.11% 0.17 336.4)
XYZxyz(18.0910, 10.2969, 22.8600)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E84 #2E9842
analogous
#772E98 #982E84 #982E4F
triadic
#982E84 #84982E #2E8498
tetradic
#982E84 #98772E #2E9842 #2E4F98
square
#982E84 #98772E #2E9842 #2E4F98
split-complementary
#982E84 #4F982E #2E9877
monochromatic
#3A1232 #69205B #982E84 #C53EAB #D36DC0

Accessibility & contrast

On white

6.86
#982E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#982E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E84
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E84#FFFFFF#000000##FFFFFF
##982E841.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305086
Deuteranopia (green-blind)
#536081
Tritanopia (blue-blind)
#A03455
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982e84;
/* rgb */ color: rgb(152, 46, 132);
/* oklch */ color: oklch(49.1% 0.170 336.4);
Tailwind
colors: {
  custom: {
    50: '#ba70a8',
    500: '#982e84',
    950: '#000000',
  },
}
SCSS
$custom: #982e84;
$custom-light: #ba70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#982e84",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 311.321,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49113,
    "c": 0.17045,
    "h": 336.4
  },
  "luminance": 0.10295
}

Semantic roles & 50–950 ramp

primary
#982E84
secondary
#68BA77
accent
#DD664B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982E84

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

Preview Lab → · Contrast checker → · Palette generator →

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