#981E56#981E56

#981E56 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.163 H 358.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#981E56
RGBrgb(152, 30, 86)
HSLhsl(332, 67%, 36%)
HSVhsv(332, 80%, 60%)
CMYKcmyk(0%, 80.3%, 43.4%, 40.4%)
CIE-LABlab(34.55, 52.86, -1.87)
CIE-LCHlch(34.55, 52.89, 357.98°)
OKLaboklab(45.72% 0.1626 -0.0043)
OKLCHoklch(45.72% 0.163 358.5)
XYZxyz(15.0940, 8.2778, 9.6052)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E56 #1E9860
analogous
#981E93 #981E56 #98231E
triadic
#981E56 #56981E #1E5698
tetradic
#981E56 #93981E #1E9860 #231E98
square
#981E56 #93981E #1E9860 #231E98
split-complementary
#981E56 #1E9823 #1E9398
monochromatic
#320A1C #651439 #981E56 #CB2873 #DD5393

Accessibility & contrast

On white

7.91
#981E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981E56
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E56#FFFFFF#000000##FFFFFF
##981E561.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4357
Deuteranopia (green-blind)
#5B5A53
Tritanopia (blue-blind)
#A50437
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981e56;
/* rgb */ color: rgb(152, 30, 86);
/* oklch */ color: oklch(45.7% 0.163 358.5);
Tailwind
colors: {
  custom: {
    50: '#bb6885',
    500: '#981e56',
    950: '#000000',
  },
}
SCSS
$custom: #981e56;
$custom-light: #bb6885;
$custom-dark: #000000;
JSON
{
  "hex": "#981e56",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 332.459,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4572,
    "c": 0.16261,
    "h": 358.5
  },
  "luminance": 0.08276
}

Semantic roles & 50–950 ramp

primary
#981E56
secondary
#51C08D
accent
#EA9B3E
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981E56

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

Preview Lab → · Contrast checker → · Palette generator →

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