#981E5C#981E5C

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

Color values

HEX#981E5C
RGBrgb(152, 30, 92)
HSLhsl(330, 67%, 36%)
HSVhsv(330, 80%, 60%)
CMYKcmyk(0%, 80.3%, 39.5%, 40.4%)
CIE-LABlab(34.76, 53.47, -5.44)
CIE-LCHlch(34.76, 53.75, 354.19°)
OKLaboklab(45.94% 0.1644 -0.0137)
OKLCHoklch(45.94% 0.165 355.2)
XYZxyz(15.3460, 8.3786, 10.9323)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E5C #1E985A
analogous
#971E98 #981E5C #981E1F
triadic
#981E5C #5C981E #1E5C98
tetradic
#981E5C #98971E #1E985A #1E1F98
square
#981E5C #98971E #1E985A #1E1F98
split-complementary
#981E5C #1F981E #1E9897
monochromatic
#320A1E #65143D #981E5C #CB287B #DD5399

Accessibility & contrast

On white

7.85
#981E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981E5C
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E5C#FFFFFF#000000##FFFFFF
##981E5C1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435E
Deuteranopia (green-blind)
#5A5A59
Tritanopia (blue-blind)
#A50B3A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #981e5c;
/* rgb */ color: rgb(152, 30, 92);
/* oklch */ color: oklch(45.9% 0.165 355.2);
Tailwind
colors: {
  custom: {
    50: '#bb688a',
    500: '#981e5c',
    950: '#000000',
  },
}
SCSS
$custom: #981e5c;
$custom-light: #bb688a;
$custom-dark: #000000;
JSON
{
  "hex": "#981e5c",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 92
  },
  "hsl": {
    "h": 329.508,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45936,
    "c": 0.16501,
    "h": 355.2
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#981E5C
secondary
#51C088
accent
#EA923E
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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