#981C81#981C81

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

Color values

HEX#981C81
RGBrgb(152, 28, 129)
HSLhsl(311, 69%, 35%)
HSVhsv(311, 82%, 60%)
CMYKcmyk(0%, 81.6%, 15.1%, 40.4%)
CIE-LABlab(36.16, 58.67, -26.72)
CIE-LCHlch(36.16, 64.47, 335.51°)
OKLaboklab(47.47% 0.1733 -0.0728)
OKLCHoklch(47.47% 0.188 337.2)
XYZxyz(17.3270, 9.0926, 21.6071)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C81 #1C9833
analogous
#711C98 #981C81 #981C43
triadic
#981C81 #81981C #1C8198
tetradic
#981C81 #98711C #1C9833 #1C4398
square
#981C81 #98711C #1C9833 #1C4398
split-complementary
#981C81 #43981C #1C9871
monochromatic
#310929 #641255 #981C81 #CC26AD #DF50C4

Accessibility & contrast

On white

7.45
#981C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981C81
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C81#FFFFFF#000000##FFFFFF
##981C811.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214984
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#A1254E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981c81;
/* rgb */ color: rgb(152, 28, 129);
/* oklch */ color: oklch(47.5% 0.188 337.2);
Tailwind
colors: {
  custom: {
    50: '#ba69a6',
    500: '#981c81',
    950: '#000000',
  },
}
SCSS
$custom: #981c81;
$custom-light: #ba69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#981c81",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 311.129,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.18799,
    "h": 337.2
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#981C81
secondary
#4EC164
accent
#EC5D3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981C81

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

Preview Lab → · Contrast checker → · Palette generator →

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