#981C77#981C77

#981C77 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 47.0% C 0.181 H 341.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#981C77
RGBrgb(152, 28, 119)
HSLhsl(316, 69%, 35%)
HSVhsv(316, 82%, 60%)
CMYKcmyk(0%, 81.6%, 21.7%, 40.4%)
CIE-LABlab(35.67, 57.28, -21.23)
CIE-LCHlch(35.67, 61.09, 339.66°)
OKLaboklab(46.96% 0.1722 -0.0571)
OKLCHoklch(46.96% 0.181 341.6)
XYZxyz(16.6945, 8.8396, 18.2762)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C77 #1C983D
analogous
#7B1C98 #981C77 #981C39
triadic
#981C77 #77981C #1C7798
tetradic
#981C77 #987B1C #1C983D #1C3998
square
#981C77 #987B1C #1C983D #1C3998
split-complementary
#981C77 #39981C #1C987B
monochromatic
#310926 #64124F #981C77 #CC269F #DF50B9

Accessibility & contrast

On white

7.59
#981C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#981C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C77
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C77#FFFFFF#000000##FFFFFF
##981C771.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294779
Deuteranopia (green-blind)
#515B74
Tritanopia (blue-blind)
#A21F48
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #981c77;
/* rgb */ color: rgb(152, 28, 119);
/* oklch */ color: oklch(47.0% 0.181 341.6);
Tailwind
colors: {
  custom: {
    50: '#ba689e',
    500: '#981c77',
    950: '#000000',
  },
}
SCSS
$custom: #981c77;
$custom-light: #ba689e;
$custom-dark: #000000;
JSON
{
  "hex": "#981c77",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 315.968,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46962,
    "c": 0.18145,
    "h": 341.6
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#981C77
secondary
#4EC16D
accent
#EC6B3C
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #981C77

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

Preview Lab → · Contrast checker → · Palette generator →

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