#981E5B#981E5B

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

Color values

HEX#981E5B
RGBrgb(152, 30, 91)
HSLhsl(330, 67%, 36%)
HSVhsv(330, 80%, 60%)
CMYKcmyk(0%, 80.3%, 40.1%, 40.4%)
CIE-LABlab(34.72, 53.37, -4.85)
CIE-LCHlch(34.72, 53.59, 354.81°)
OKLaboklab(45.9% 0.1641 -0.0121)
OKLCHoklch(45.9% 0.165 355.8)
XYZxyz(15.3026, 8.3612, 10.7036)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E5B #1E985B
analogous
#981E98 #981E5B #981E1E
triadic
#981E5B #5B981E #1E5B98
tetradic
#981E5B #98981E #1E985B #1E1E98
square
#981E5B #98981E #1E985B #1E1E98
split-complementary
#981E5B #1E981E #1E9898
monochromatic
#320A1E #65143C #981E5B #CB287A #DD5398

Accessibility & contrast

On white

7.86
#981E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981E5B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E5B#FFFFFF#000000##FFFFFF
##981E5B1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435C
Deuteranopia (green-blind)
#5A5A58
Tritanopia (blue-blind)
#A50A3A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #981e5b;
/* rgb */ color: rgb(152, 30, 91);
/* oklch */ color: oklch(45.9% 0.165 355.8);
Tailwind
colors: {
  custom: {
    50: '#bb6889',
    500: '#981e5b',
    950: '#000000',
  },
}
SCSS
$custom: #981e5b;
$custom-light: #bb6889;
$custom-dark: #000000;
JSON
{
  "hex": "#981e5b",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 330,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.16459,
    "h": 355.8
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

primary
#981E5B
secondary
#51C089
accent
#EA943E
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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