#981F79#981F79

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

Color values

HEX#981F79
RGBrgb(152, 31, 121)
HSLhsl(315, 66%, 36%)
HSVhsv(315, 80%, 60%)
CMYKcmyk(0%, 79.6%, 20.4%, 40.4%)
CIE-LABlab(36.06, 56.73, -21.89)
CIE-LCHlch(36.06, 60.80, 338.90°)
OKLaboklab(47.27% 0.17 -0.059)
OKLCHoklch(47.27% 0.18 340.8)
XYZxyz(16.8906, 9.0376, 18.9404)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F79 #1F983E
analogous
#7A1F98 #981F79 #981F3C
triadic
#981F79 #79981F #1F7998
tetradic
#981F79 #987A1F #1F983E #1F3C98
square
#981F79 #987A1F #1F983E #1F3C98
split-complementary
#981F79 #3C981F #1F987A
monochromatic
#320A28 #651551 #981F79 #CB29A1 #DC55BA

Accessibility & contrast

On white

7.48
#981F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#981F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F79
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F79#FFFFFF#000000##FFFFFF
##981F791.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487B
Deuteranopia (green-blind)
#525C76
Tritanopia (blue-blind)
#A2224A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981f79;
/* rgb */ color: rgb(152, 31, 121);
/* oklch */ color: oklch(47.3% 0.180 340.8);
Tailwind
colors: {
  custom: {
    50: '#ba69a0',
    500: '#981f79',
    950: '#000000',
  },
}
SCSS
$custom: #981f79;
$custom-light: #ba69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#981f79",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 315.372,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47269,
    "c": 0.17992,
    "h": 340.8
  },
  "luminance": 0.09036
}

Semantic roles & 50–950 ramp

primary
#981F79
secondary
#53C06F
accent
#E96A3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #981F79

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

Preview Lab → · Contrast checker → · Palette generator →

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