#981B81#981B81

#981B81 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.4% C 0.189 H 337.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#981B81
RGBrgb(152, 27, 129)
HSLhsl(311, 70%, 35%)
HSVhsv(311, 82%, 60%)
CMYKcmyk(0%, 82.2%, 15.1%, 40.4%)
CIE-LABlab(36.07, 58.93, -26.86)
CIE-LCHlch(36.07, 64.76, 335.49°)
OKLaboklab(47.41% 0.1741 -0.0732)
OKLCHoklch(47.41% 0.189 337.2)
XYZxyz(17.3036, 9.0459, 21.5994)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B81 #1B9832
analogous
#701B98 #981B81 #981B43
triadic
#981B81 #81981B #1B8198
tetradic
#981B81 #98701B #1B9832 #1B4398
square
#981B81 #98701B #1B9832 #1B4398
split-complementary
#981B81 #43981B #1B9870
monochromatic
#300929 #641255 #981B81 #CC24AD #E04EC5

Accessibility & contrast

On white

7.48
#981B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#981B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B81
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B81#FFFFFF#000000##FFFFFF
##981B811.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#4D5B7E
Tritanopia (blue-blind)
#A1244E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981b81;
/* rgb */ color: rgb(152, 27, 129);
/* oklch */ color: oklch(47.4% 0.189 337.2);
Tailwind
colors: {
  custom: {
    50: '#ba68a6',
    500: '#981b81',
    950: '#000000',
  },
}
SCSS
$custom: #981b81;
$custom-light: #ba68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#981b81",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 311.04,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47408,
    "c": 0.18885,
    "h": 337.2
  },
  "luminance": 0.09044
}

Semantic roles & 50–950 ramp

primary
#981B81
secondary
#4DC262
accent
#ED5C3B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981B81

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

Preview Lab → · Contrast checker → · Palette generator →

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