#981C83#981C83

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

Color values

HEX#981C83
RGBrgb(152, 28, 131)
HSLhsl(310, 69%, 35%)
HSVhsv(310, 82%, 60%)
CMYKcmyk(0%, 81.6%, 13.8%, 40.4%)
CIE-LABlab(36.26, 58.96, -27.80)
CIE-LCHlch(36.26, 65.19, 334.75°)
OKLaboklab(47.58% 0.1735 -0.0759)
OKLCHoklch(47.58% 0.189 336.4)
XYZxyz(17.4612, 9.1463, 22.3141)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C83 #1C9831
analogous
#6F1C98 #981C83 #981C45
triadic
#981C83 #83981C #1C8398
tetradic
#981C83 #986F1C #1C9831 #1C4598
square
#981C83 #986F1C #1C9831 #1C4598
split-complementary
#981C83 #45981C #1C986F
monochromatic
#31092A #641256 #981C83 #CC26B0 #DF50C6

Accessibility & contrast

On white

7.42
#981C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981C83
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C83#FFFFFF#000000##FFFFFF
##981C831.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A86
Deuteranopia (green-blind)
#4D5C80
Tritanopia (blue-blind)
#A0264F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981c83;
/* rgb */ color: rgb(152, 28, 131);
/* oklch */ color: oklch(47.6% 0.189 336.4);
Tailwind
colors: {
  custom: {
    50: '#ba69a7',
    500: '#981c83',
    950: '#000000',
  },
}
SCSS
$custom: #981c83;
$custom-light: #ba69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#981c83",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 310.161,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47579,
    "c": 0.18935,
    "h": 336.4
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#981C83
secondary
#4EC162
accent
#EC5A3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981C83

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

Preview Lab → · Contrast checker → · Palette generator →

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