#981E82#981E82

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

Color values

HEX#981E82
RGBrgb(152, 30, 130)
HSLhsl(311, 67%, 36%)
HSVhsv(311, 80%, 60%)
CMYKcmyk(0%, 80.3%, 14.5%, 40.4%)
CIE-LABlab(36.40, 58.28, -26.97)
CIE-LCHlch(36.40, 64.22, 335.17°)
OKLaboklab(47.66% 0.1718 -0.0735)
OKLCHoklch(47.66% 0.187 336.8)
XYZxyz(17.4428, 9.2173, 21.9753)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E82 #1E9834
analogous
#711E98 #981E82 #981E45
triadic
#981E82 #82981E #1E8298
tetradic
#981E82 #98711E #1E9834 #1E4598
square
#981E82 #98711E #1E9834 #1E4598
split-complementary
#981E82 #45981E #1E9871
monochromatic
#320A2B #651456 #981E82 #CB28AE #DD53C4

Accessibility & contrast

On white

7.39
#981E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981E82
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E82#FFFFFF#000000##FFFFFF
##981E821.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A85
Deuteranopia (green-blind)
#4E5C7F
Tritanopia (blue-blind)
#A0274F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981e82;
/* rgb */ color: rgb(152, 30, 130);
/* oklch */ color: oklch(47.7% 0.187 336.8);
Tailwind
colors: {
  custom: {
    50: '#ba69a6',
    500: '#981e82',
    950: '#000000',
  },
}
SCSS
$custom: #981e82;
$custom-light: #ba69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#981e82",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 310.82,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47659,
    "c": 0.18686,
    "h": 336.8
  },
  "luminance": 0.09216
}

Semantic roles & 50–950 ramp

primary
#981E82
secondary
#51C065
accent
#EA5D3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981E82

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

Preview Lab → · Contrast checker → · Palette generator →

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