#981C82#981C82

#981C82 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.189 H 336.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#981C82
RGBrgb(152, 28, 130)
HSLhsl(311, 69%, 35%)
HSVhsv(311, 82%, 60%)
CMYKcmyk(0%, 81.6%, 14.5%, 40.4%)
CIE-LABlab(36.21, 58.82, -27.26)
CIE-LCHlch(36.21, 64.83, 335.13°)
OKLaboklab(47.53% 0.1734 -0.0743)
OKLCHoklch(47.53% 0.189 336.8)
XYZxyz(17.3938, 9.1193, 21.9589)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C82 #1C9832
analogous
#701C98 #981C82 #981C44
triadic
#981C82 #82981C #1C8298
tetradic
#981C82 #98701C #1C9832 #1C4498
square
#981C82 #98701C #1C9832 #1C4498
split-complementary
#981C82 #44981C #1C9870
monochromatic
#31092A #641256 #981C82 #CC26AE #DF50C5

Accessibility & contrast

On white

7.44
#981C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#981C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C82
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C82#FFFFFF#000000##FFFFFF
##981C821.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981c82;
/* rgb */ color: rgb(152, 28, 130);
/* oklch */ color: oklch(47.5% 0.189 336.8);
Tailwind
colors: {
  custom: {
    50: '#ba69a6',
    500: '#981c82',
    950: '#000000',
  },
}
SCSS
$custom: #981c82;
$custom-light: #ba69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#981c82",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 310.645,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47525,
    "c": 0.18866,
    "h": 336.8
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#981C82
secondary
#4EC163
accent
#EC5B3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981C82

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

Preview Lab → · Contrast checker → · Palette generator →

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