#981C54#981C54

#981C54 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.164 H 359.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#981C54
RGBrgb(152, 28, 84)
HSLhsl(333, 69%, 35%)
HSVhsv(333, 82%, 60%)
CMYKcmyk(0%, 81.6%, 44.7%, 40.4%)
CIE-LABlab(34.29, 53.23, -0.96)
CIE-LCHlch(34.29, 53.24, 358.96°)
OKLaboklab(45.51% 0.1637 -0.0019)
OKLCHoklch(45.51% 0.164 359.3)
XYZxyz(14.9656, 8.1480, 9.1704)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C54 #1C9860
analogous
#981C92 #981C54 #98221C
triadic
#981C54 #54981C #1C5498
tetradic
#981C54 #92981C #1C9860 #221C98
square
#981C54 #92981C #1C9860 #221C98
split-complementary
#981C54 #1C9822 #1C9298
monochromatic
#31091B #641237 #981C54 #CC2671 #DF5090

Accessibility & contrast

On white

7.99
#981C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#981C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C54
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C54#FFFFFF#000000##FFFFFF
##981C541.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4255
Deuteranopia (green-blind)
#5B5951
Tritanopia (blue-blind)
#A50036
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981c54;
/* rgb */ color: rgb(152, 28, 84);
/* oklch */ color: oklch(45.5% 0.164 359.3);
Tailwind
colors: {
  custom: {
    50: '#bc6784',
    500: '#981c54',
    950: '#000000',
  },
}
SCSS
$custom: #981c54;
$custom-light: #bc6784;
$custom-dark: #000000;
JSON
{
  "hex": "#981c54",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 84
  },
  "hsl": {
    "h": 332.903,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45505,
    "c": 0.16373,
    "h": 359.3
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#981C54
secondary
#4EC18D
accent
#EC9C3C
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981C54

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

Preview Lab → · Contrast checker → · Palette generator →

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