#981E5D#981E5D

#981E5D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.165 H 354.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#981E5D
RGBrgb(152, 30, 93)
HSLhsl(329, 67%, 36%)
HSVhsv(329, 80%, 60%)
CMYKcmyk(0%, 80.3%, 38.8%, 40.4%)
CIE-LABlab(34.79, 53.58, -6.03)
CIE-LCHlch(34.79, 53.92, 353.58°)
OKLaboklab(45.97% 0.1647 -0.0152)
OKLCHoklch(45.97% 0.165 354.7)
XYZxyz(15.3900, 8.3962, 11.1640)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E5D #1E9859
analogous
#961E98 #981E5D #981E20
triadic
#981E5D #5D981E #1E5D98
tetradic
#981E5D #98961E #1E9859 #1E2098
square
#981E5D #98961E #1E9859 #1E2098
split-complementary
#981E5D #20981E #1E9896
monochromatic
#320A1E #65143E #981E5D #CB287C #DD539A

Accessibility & contrast

On white

7.84
#981E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#981E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E5D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E5D#FFFFFF#000000##FFFFFF
##981E5D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38445F
Deuteranopia (green-blind)
#5A5A5A
Tritanopia (blue-blind)
#A40C3B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #981e5d;
/* rgb */ color: rgb(152, 30, 93);
/* oklch */ color: oklch(46.0% 0.165 354.7);
Tailwind
colors: {
  custom: {
    50: '#bb688a',
    500: '#981e5d',
    950: '#000000',
  },
}
SCSS
$custom: #981e5d;
$custom-light: #bb688a;
$custom-dark: #000000;
JSON
{
  "hex": "#981e5d",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 329.016,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45974,
    "c": 0.16544,
    "h": 354.7
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#981E5D
secondary
#51C087
accent
#EA913E
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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