#981D79#981D79

#981D79 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.182 H 340.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#981D79
RGBrgb(152, 29, 121)
HSLhsl(315, 68%, 35%)
HSVhsv(315, 81%, 60%)
CMYKcmyk(0%, 80.9%, 20.4%, 40.4%)
CIE-LABlab(35.86, 57.29, -22.20)
CIE-LCHlch(35.86, 61.43, 338.82°)
OKLaboklab(47.13% 0.1717 -0.0599)
OKLCHoklch(47.13% 0.182 340.8)
XYZxyz(16.8400, 8.9364, 18.9235)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D79 #1D983C
analogous
#791D98 #981D79 #981D3B
triadic
#981D79 #79981D #1D7998
tetradic
#981D79 #98791D #1D983C #1D3B98
square
#981D79 #98791D #1D983C #1D3B98
split-complementary
#981D79 #3B981D #1D9879
monochromatic
#310927 #651350 #981D79 #CB27A2 #DE52BB

Accessibility & contrast

On white

7.53
#981D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#981D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D79
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D79#FFFFFF#000000##FFFFFF
##981D791.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#515B76
Tritanopia (blue-blind)
#A2214A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #981d79;
/* rgb */ color: rgb(152, 29, 121);
/* oklch */ color: oklch(47.1% 0.182 340.8);
Tailwind
colors: {
  custom: {
    50: '#ba69a0',
    500: '#981d79',
    950: '#000000',
  },
}
SCSS
$custom: #981d79;
$custom-light: #ba69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#981d79",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 315.122,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47128,
    "c": 0.18181,
    "h": 340.8
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#981D79
secondary
#50C16C
accent
#EB693D
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #981D79

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

Preview Lab → · Contrast checker → · Palette generator →

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