#981D5C#981D5C

#981D5C is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.166 H 355.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#981D5C
RGBrgb(152, 29, 92)
HSLhsl(329, 68%, 35%)
HSVhsv(329, 81%, 60%)
CMYKcmyk(0%, 80.9%, 39.5%, 40.4%)
CIE-LABlab(34.66, 53.76, -5.59)
CIE-LCHlch(34.66, 54.05, 354.06°)
OKLaboklab(45.86% 0.1654 -0.0141)
OKLCHoklch(45.86% 0.166 355.1)
XYZxyz(15.3211, 8.3288, 10.9240)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D5C #1D9859
analogous
#961D98 #981D5C #981D1F
triadic
#981D5C #5C981D #1D5C98
tetradic
#981D5C #98961D #1D9859 #1D1F98
square
#981D5C #98961D #1D9859 #1D1F98
split-complementary
#981D5C #1F981D #1D9896
monochromatic
#31091E #65133D #981D5C #CB277B #DE5299

Accessibility & contrast

On white

7.88
#981D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#981D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D5C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D5C#FFFFFF#000000##FFFFFF
##981D5C1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37435E
Deuteranopia (green-blind)
#5A5A59
Tritanopia (blue-blind)
#A5093A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981d5c;
/* rgb */ color: rgb(152, 29, 92);
/* oklch */ color: oklch(45.9% 0.166 355.1);
Tailwind
colors: {
  custom: {
    50: '#bb678a',
    500: '#981d5c',
    950: '#000000',
  },
}
SCSS
$custom: #981d5c;
$custom-light: #bb678a;
$custom-dark: #000000;
JSON
{
  "hex": "#981d5c",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 329.268,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45863,
    "c": 0.16596,
    "h": 355.1
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#981D5C
secondary
#50C187
accent
#EB923D
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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