#981D82#981D82

#981D82 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.188 H 336.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#981D82
RGBrgb(152, 29, 130)
HSLhsl(311, 68%, 35%)
HSVhsv(311, 81%, 60%)
CMYKcmyk(0%, 80.9%, 14.5%, 40.4%)
CIE-LABlab(36.30, 58.55, -27.12)
CIE-LCHlch(36.30, 64.53, 335.15°)
OKLaboklab(47.59% 0.1726 -0.0739)
OKLCHoklch(47.59% 0.188 336.8)
XYZxyz(17.4179, 9.1675, 21.9670)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D82 #1D9833
analogous
#711D98 #981D82 #981D44
triadic
#981D82 #82981D #1D8298
tetradic
#981D82 #98711D #1D9833 #1D4498
square
#981D82 #98711D #1D9833 #1D4498
split-complementary
#981D82 #44981D #1D9871
monochromatic
#31092A #651356 #981D82 #CB27AE #DE52C5

Accessibility & contrast

On white

7.41
#981D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#981D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D82
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D82#FFFFFF#000000##FFFFFF
##981D821.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A85
Deuteranopia (green-blind)
#4D5C7F
Tritanopia (blue-blind)
#A0264F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981d82;
/* rgb */ color: rgb(152, 29, 130);
/* oklch */ color: oklch(47.6% 0.188 336.8);
Tailwind
colors: {
  custom: {
    50: '#ba69a6',
    500: '#981d82',
    950: '#000000',
  },
}
SCSS
$custom: #981d82;
$custom-light: #ba69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#981d82",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 310.732,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47591,
    "c": 0.18777,
    "h": 336.8
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

primary
#981D82
secondary
#50C164
accent
#EB5C3D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981D82

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

Preview Lab → · Contrast checker → · Palette generator →

#981D82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva