#981E54#981E54

#981E54 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.162 H 359.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#981E54
RGBrgb(152, 30, 84)
HSLhsl(333, 67%, 36%)
HSVhsv(333, 80%, 60%)
CMYKcmyk(0%, 80.3%, 44.7%, 40.4%)
CIE-LABlab(34.49, 52.66, -0.67)
CIE-LCHlch(34.49, 52.66, 359.27°)
OKLaboklab(45.65% 0.1619 -0.0011)
OKLCHoklch(45.65% 0.162 359.6)
XYZxyz(15.0146, 8.2460, 9.1868)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E54 #1E9862
analogous
#981E91 #981E54 #98251E
triadic
#981E54 #54981E #1E5498
tetradic
#981E54 #91981E #1E9862 #251E98
square
#981E54 #91981E #1E9862 #251E98
split-complementary
#981E54 #1E9825 #1E9198
monochromatic
#320A1C #651438 #981E54 #CB2870 #DD5390

Accessibility & contrast

On white

7.93
#981E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#981E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E54
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E54#FFFFFF#000000##FFFFFF
##981E541.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4255
Deuteranopia (green-blind)
#5C5951
Tritanopia (blue-blind)
#A50236
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981e54;
/* rgb */ color: rgb(152, 30, 84);
/* oklch */ color: oklch(45.7% 0.162 359.6);
Tailwind
colors: {
  custom: {
    50: '#bc6884',
    500: '#981e54',
    950: '#000000',
  },
}
SCSS
$custom: #981e54;
$custom-light: #bc6884;
$custom-dark: #000000;
JSON
{
  "hex": "#981e54",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 333.443,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45652,
    "c": 0.16188,
    "h": 359.6
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#981E54
secondary
#51C08F
accent
#EA9E3E
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981E54

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

Preview Lab → · Contrast checker → · Palette generator →

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