#981D5B#981D5B

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

Color values

HEX#981D5B
RGBrgb(152, 29, 91)
HSLhsl(330, 68%, 35%)
HSVhsv(330, 81%, 60%)
CMYKcmyk(0%, 80.9%, 40.1%, 40.4%)
CIE-LABlab(34.62, 53.66, -5.00)
CIE-LCHlch(34.62, 53.89, 354.68°)
OKLaboklab(45.83% 0.1651 -0.0125)
OKLCHoklch(45.83% 0.166 355.7)
XYZxyz(15.2777, 8.3114, 10.6953)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D5B #1D985A
analogous
#971D98 #981D5B #981D1D
triadic
#981D5B #5B981D #1D5B98
tetradic
#981D5B #98971D #1D985A #1D1D98
square
#981D5B #98971D #1D985A #1D1D98
split-complementary
#981D5B #1D981D #1D9897
monochromatic
#31091D #65133C #981D5B #CB277A #DE5298

Accessibility & contrast

On white

7.89
#981D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#981D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D5B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D5B#FFFFFF#000000##FFFFFF
##981D5B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435D
Deuteranopia (green-blind)
#5A5A58
Tritanopia (blue-blind)
#A5073A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981d5b;
/* rgb */ color: rgb(152, 29, 91);
/* oklch */ color: oklch(45.8% 0.166 355.7);
Tailwind
colors: {
  custom: {
    50: '#bb6789',
    500: '#981d5b',
    950: '#000000',
  },
}
SCSS
$custom: #981d5b;
$custom-light: #bb6789;
$custom-dark: #000000;
JSON
{
  "hex": "#981d5b",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 329.756,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45826,
    "c": 0.16553,
    "h": 355.7
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#981D5B
secondary
#50C188
accent
#EB933D
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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