#981D83#981D83

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

Color values

HEX#981D83
RGBrgb(152, 29, 131)
HSLhsl(310, 68%, 35%)
HSVhsv(310, 81%, 60%)
CMYKcmyk(0%, 80.9%, 13.8%, 40.4%)
CIE-LABlab(36.36, 58.70, -27.66)
CIE-LCHlch(36.36, 64.89, 334.77°)
OKLaboklab(47.64% 0.1727 -0.0755)
OKLCHoklch(47.64% 0.188 336.4)
XYZxyz(17.4853, 9.1945, 22.3222)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D83 #1D9832
analogous
#6F1D98 #981D83 #981D45
triadic
#981D83 #83981D #1D8398
tetradic
#981D83 #986F1D #1D9832 #1D4598
square
#981D83 #986F1D #1D9832 #1D4598
split-complementary
#981D83 #45981D #1D986F
monochromatic
#31092A #651357 #981D83 #CB27AF #DE52C6

Accessibility & contrast

On white

7.40
#981D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#981D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D83
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D83#FFFFFF#000000##FFFFFF
##981D831.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A86
Deuteranopia (green-blind)
#4D5C80
Tritanopia (blue-blind)
#A0274F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981d83;
/* rgb */ color: rgb(152, 29, 131);
/* oklch */ color: oklch(47.6% 0.188 336.4);
Tailwind
colors: {
  custom: {
    50: '#ba69a7',
    500: '#981d83',
    950: '#000000',
  },
}
SCSS
$custom: #981d83;
$custom-light: #ba69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#981d83",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 310.244,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47644,
    "c": 0.18846,
    "h": 336.4
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#981D83
secondary
#50C163
accent
#EB5B3D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981D83

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

Preview Lab → · Contrast checker → · Palette generator →

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