#981C56#981C56

#981C56 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.164 H 358.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#981C56
RGBrgb(152, 28, 86)
HSLhsl(332, 69%, 35%)
HSVhsv(332, 82%, 60%)
CMYKcmyk(0%, 81.6%, 43.4%, 40.4%)
CIE-LABlab(34.35, 53.43, -2.16)
CIE-LCHlch(34.35, 53.47, 357.68°)
OKLaboklab(45.57% 0.1644 -0.005)
OKLCHoklch(45.57% 0.164 358.3)
XYZxyz(15.0450, 8.1798, 9.5889)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C56 #1C985E
analogous
#981C94 #981C56 #98201C
triadic
#981C56 #56981C #1C5698
tetradic
#981C56 #94981C #1C985E #201C98
square
#981C56 #94981C #1C985E #201C98
split-complementary
#981C56 #1C9820 #1C9498
monochromatic
#31091C #641239 #981C56 #CC2673 #DF5093

Accessibility & contrast

On white

7.97
#981C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#981C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C56
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C56#FFFFFF#000000##FFFFFF
##981C561.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394257
Deuteranopia (green-blind)
#5B5953
Tritanopia (blue-blind)
#A50037
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981c56;
/* rgb */ color: rgb(152, 28, 86);
/* oklch */ color: oklch(45.6% 0.164 358.3);
Tailwind
colors: {
  custom: {
    50: '#bc6785',
    500: '#981c56',
    950: '#000000',
  },
}
SCSS
$custom: #981c56;
$custom-light: #bc6785;
$custom-dark: #000000;
JSON
{
  "hex": "#981c56",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 331.935,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45574,
    "c": 0.16446,
    "h": 358.3
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#981C56
secondary
#4EC18C
accent
#EC9A3C
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981C56

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

Preview Lab → · Contrast checker → · Palette generator →

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