#981C5D#981C5D

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

Color values

HEX#981C5D
RGBrgb(152, 28, 93)
HSLhsl(329, 69%, 35%)
HSVhsv(329, 82%, 60%)
CMYKcmyk(0%, 81.6%, 38.8%, 40.4%)
CIE-LABlab(34.60, 54.15, -6.33)
CIE-LCHlch(34.60, 54.51, 353.33°)
OKLaboklab(45.83% 0.1666 -0.016)
OKLCHoklch(45.83% 0.167 354.5)
XYZxyz(15.3410, 8.2982, 11.1477)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C5D #1C9857
analogous
#951C98 #981C5D #981C1F
triadic
#981C5D #5D981C #1C5D98
tetradic
#981C5D #98951C #1C9857 #1C1F98
square
#981C5D #98951C #1C9857 #1C1F98
split-complementary
#981C5D #1F981C #1C9895
monochromatic
#31091E #64123D #981C5D #CC267D #DF509B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##981C5D#FFFFFF#000000##FFFFFF
##981C5D1.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)
#37435F
Deuteranopia (green-blind)
#59595A
Tritanopia (blue-blind)
#A5083A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981c5d;
/* rgb */ color: rgb(152, 28, 93);
/* oklch */ color: oklch(45.8% 0.167 354.5);
Tailwind
colors: {
  custom: {
    50: '#bb678a',
    500: '#981c5d',
    950: '#000000',
  },
}
SCSS
$custom: #981c5d;
$custom-light: #bb678a;
$custom-dark: #000000;
JSON
{
  "hex": "#981c5d",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 328.548,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45829,
    "c": 0.16732,
    "h": 354.5
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#981C5D
secondary
#4EC185
accent
#EC903C
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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