#981D5D#981D5D

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

Color values

HEX#981D5D
RGBrgb(152, 29, 93)
HSLhsl(329, 68%, 35%)
HSVhsv(329, 81%, 60%)
CMYKcmyk(0%, 80.9%, 38.8%, 40.4%)
CIE-LABlab(34.69, 53.87, -6.18)
CIE-LCHlch(34.69, 54.22, 353.45°)
OKLaboklab(45.9% 0.1657 -0.0156)
OKLCHoklch(45.9% 0.166 354.6)
XYZxyz(15.3651, 8.3464, 11.1557)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D5D #1D9858
analogous
#951D98 #981D5D #981D20
triadic
#981D5D #5D981D #1D5D98
tetradic
#981D5D #98951D #1D9858 #1D2098
square
#981D5D #98951D #1D9858 #1D2098
split-complementary
#981D5D #20981D #1D9895
monochromatic
#31091E #65133E #981D5D #CB277C #DE529B

Accessibility & contrast

On white

7.87
#981D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981D5D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D5D#FFFFFF#000000##FFFFFF
##981D5D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37435F
Deuteranopia (green-blind)
#595A5A
Tritanopia (blue-blind)
#A40A3B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #981d5d;
/* rgb */ color: rgb(152, 29, 93);
/* oklch */ color: oklch(45.9% 0.166 354.6);
Tailwind
colors: {
  custom: {
    50: '#bb688a',
    500: '#981d5d',
    950: '#000000',
  },
}
SCSS
$custom: #981d5d;
$custom-light: #bb688a;
$custom-dark: #000000;
JSON
{
  "hex": "#981d5d",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 93
  },
  "hsl": {
    "h": 328.78,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45901,
    "c": 0.1664,
    "h": 354.6
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#981D5D
secondary
#50C186
accent
#EB903D
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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