#981E79#981E79

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

Color values

HEX#981E79
RGBrgb(152, 30, 121)
HSLhsl(315, 67%, 36%)
HSVhsv(315, 80%, 60%)
CMYKcmyk(0%, 80.3%, 20.4%, 40.4%)
CIE-LABlab(35.96, 57.01, -22.05)
CIE-LCHlch(35.96, 61.12, 338.86°)
OKLaboklab(47.2% 0.1708 -0.0595)
OKLCHoklch(47.2% 0.181 340.8)
XYZxyz(16.8649, 8.9862, 18.9318)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E79 #1E983D
analogous
#7A1E98 #981E79 #981E3C
triadic
#981E79 #79981E #1E7998
tetradic
#981E79 #987A1E #1E983D #1E3C98
square
#981E79 #987A1E #1E983D #1E3C98
split-complementary
#981E79 #3C981E #1E987A
monochromatic
#320A28 #651450 #981E79 #CB28A2 #DD53BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##981E79#FFFFFF#000000##FFFFFF
##981E791.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)
#29487B
Deuteranopia (green-blind)
#515B76
Tritanopia (blue-blind)
#A2224A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981e79;
/* rgb */ color: rgb(152, 30, 121);
/* oklch */ color: oklch(47.2% 0.181 340.8);
Tailwind
colors: {
  custom: {
    50: '#ba69a0',
    500: '#981e79',
    950: '#000000',
  },
}
SCSS
$custom: #981e79;
$custom-light: #ba69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#981e79",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 315.246,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47197,
    "c": 0.18088,
    "h": 340.8
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

primary
#981E79
secondary
#51C06E
accent
#EA6A3E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #981E79

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

Preview Lab → · Contrast checker → · Palette generator →

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