#981D81#981D81

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

Color values

HEX#981D81
RGBrgb(152, 29, 129)
HSLhsl(311, 68%, 35%)
HSVhsv(311, 81%, 60%)
CMYKcmyk(0%, 80.9%, 15.1%, 40.4%)
CIE-LABlab(36.25, 58.41, -26.58)
CIE-LCHlch(36.25, 64.17, 335.53°)
OKLaboklab(47.54% 0.1725 -0.0724)
OKLCHoklch(47.54% 0.187 337.2)
XYZxyz(17.3511, 9.1408, 21.6152)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D81 #1D9834
analogous
#721D98 #981D81 #981D43
triadic
#981D81 #81981D #1D8198
tetradic
#981D81 #98721D #1D9834 #1D4398
square
#981D81 #98721D #1D9834 #1D4398
split-complementary
#981D81 #43981D #1D9872
monochromatic
#31092A #651355 #981D81 #CB27AD #DE52C4

Accessibility & contrast

On white

7.43
#981D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981D81
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D81#FFFFFF#000000##FFFFFF
##981D811.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981d81;
/* rgb */ color: rgb(152, 29, 129);
/* oklch */ color: oklch(47.5% 0.187 337.2);
Tailwind
colors: {
  custom: {
    50: '#ba69a6',
    500: '#981d81',
    950: '#000000',
  },
}
SCSS
$custom: #981d81;
$custom-light: #ba69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#981d81",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 311.22,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47538,
    "c": 0.18709,
    "h": 337.2
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#981D81
secondary
#50C165
accent
#EB5D3D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981D81

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

Preview Lab → · Contrast checker → · Palette generator →

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