#981B79#981B79

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

Color values

HEX#981B79
RGBrgb(152, 27, 121)
HSLhsl(315, 70%, 35%)
HSVhsv(315, 82%, 60%)
CMYKcmyk(0%, 82.2%, 20.4%, 40.4%)
CIE-LABlab(35.68, 57.82, -22.48)
CIE-LCHlch(35.68, 62.03, 338.75°)
OKLaboklab(47% 0.1733 -0.0607)
OKLCHoklch(47% 0.184 340.7)
XYZxyz(16.7926, 8.8415, 18.9077)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B79 #1B983A
analogous
#781B98 #981B79 #981B3B
triadic
#981B79 #79981B #1B7998
tetradic
#981B79 #98781B #1B983A #1B3B98
square
#981B79 #98781B #1B983A #1B3B98
split-complementary
#981B79 #3B981B #1B9878
monochromatic
#300926 #641250 #981B79 #CC24A2 #E04EBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##981B79#FFFFFF#000000##FFFFFF
##981B791.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)
#27477B
Deuteranopia (green-blind)
#505B76
Tritanopia (blue-blind)
#A21F49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #981b79;
/* rgb */ color: rgb(152, 27, 121);
/* oklch */ color: oklch(47.0% 0.184 340.7);
Tailwind
colors: {
  custom: {
    50: '#ba68a0',
    500: '#981b79',
    950: '#000000',
  },
}
SCSS
$custom: #981b79;
$custom-light: #ba68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#981b79",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 314.88,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46995,
    "c": 0.1836,
    "h": 340.7
  },
  "luminance": 0.0884
}

Semantic roles & 50–950 ramp

primary
#981B79
secondary
#4DC26A
accent
#ED673B
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #981B79

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

Preview Lab → · Contrast checker → · Palette generator →

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