#981F77#981F77

#981F77 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.179 H 341.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#981F77
RGBrgb(152, 31, 119)
HSLhsl(316, 66%, 36%)
HSVhsv(316, 80%, 60%)
CMYKcmyk(0%, 79.6%, 21.7%, 40.4%)
CIE-LABlab(35.96, 56.45, -20.78)
CIE-LCHlch(35.96, 60.16, 339.79°)
OKLaboklab(47.17% 0.1697 -0.0559)
OKLCHoklch(47.17% 0.179 341.8)
XYZxyz(16.7692, 8.9890, 18.3011)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F77 #1F9840
analogous
#7C1F98 #981F77 #981F3A
triadic
#981F77 #77981F #1F7798
tetradic
#981F77 #987C1F #1F9840 #1F3A98
square
#981F77 #987C1F #1F9840 #1F3A98
split-complementary
#981F77 #3A981F #1F987C
monochromatic
#320A27 #65154F #981F77 #CB299F #DC55B7

Accessibility & contrast

On white

7.51
#981F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#981F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F77
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F77#FFFFFF#000000##FFFFFF
##981F771.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#525C74
Tritanopia (blue-blind)
#A22149
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981f77;
/* rgb */ color: rgb(152, 31, 119);
/* oklch */ color: oklch(47.2% 0.179 341.8);
Tailwind
colors: {
  custom: {
    50: '#ba699e',
    500: '#981f77',
    950: '#000000',
  },
}
SCSS
$custom: #981f77;
$custom-light: #ba699e;
$custom-dark: #000000;
JSON
{
  "hex": "#981f77",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 316.364,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47171,
    "c": 0.17864,
    "h": 341.8
  },
  "luminance": 0.08987
}

Semantic roles & 50–950 ramp

primary
#981F77
secondary
#53C071
accent
#E96D3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #981F77

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

Preview Lab → · Contrast checker → · Palette generator →

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