#981D5A#981D5A

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

Color values

HEX#981D5A
RGBrgb(152, 29, 90)
HSLhsl(330, 68%, 35%)
HSVhsv(330, 81%, 60%)
CMYKcmyk(0%, 80.9%, 40.8%, 40.4%)
CIE-LABlab(34.59, 53.55, -4.40)
CIE-LCHlch(34.59, 53.73, 355.30°)
OKLaboklab(45.79% 0.1648 -0.0109)
OKLCHoklch(45.79% 0.165 356.2)
XYZxyz(15.2348, 8.2943, 10.4696)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D5A #1D985B
analogous
#981D97 #981D5A #981D1D
triadic
#981D5A #5A981D #1D5A98
tetradic
#981D5A #97981D #1D985B #1D1D98
square
#981D5A #97981D #1D985B #1D1D98
split-complementary
#981D5A #1D981D #1D9798
monochromatic
#31091D #65133C #981D5A #CB2778 #DE5297

Accessibility & contrast

On white

7.90
#981D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981D5A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D5A#FFFFFF#000000##FFFFFF
##981D5A1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435B
Deuteranopia (green-blind)
#5A5957
Tritanopia (blue-blind)
#A50639
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981d5a;
/* rgb */ color: rgb(152, 29, 90);
/* oklch */ color: oklch(45.8% 0.165 356.2);
Tailwind
colors: {
  custom: {
    50: '#bb6788',
    500: '#981d5a',
    950: '#000000',
  },
}
SCSS
$custom: #981d5a;
$custom-light: #bb6788;
$custom-dark: #000000;
JSON
{
  "hex": "#981d5a",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 90
  },
  "hsl": {
    "h": 330.244,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45789,
    "c": 0.16511,
    "h": 356.2
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#981D5A
secondary
#50C189
accent
#EB953D
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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