#982B79#982B79

#982B79 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.167 H 341.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#982B79
RGBrgb(152, 43, 121)
HSLhsl(317, 56%, 38%)
HSVhsv(317, 72%, 60%)
CMYKcmyk(0%, 71.7%, 20.4%, 40.4%)
CIE-LABlab(37.45, 52.76, -19.73)
CIE-LCHlch(37.45, 56.33, 339.50°)
OKLaboklab(48.28% 0.1579 -0.053)
OKLCHoklch(48.28% 0.167 341.4)
XYZxyz(17.2645, 9.7853, 19.0650)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982B79 #2B984A
analogous
#802B98 #982B79 #982B43
triadic
#982B79 #79982B #2B7998
tetradic
#982B79 #98802B #2B984A #2B4398
square
#982B79 #98802B #2B984A #2B4398
split-complementary
#982B79 #43982B #2B9880
monochromatic
#39102D #681E53 #982B79 #C7399F #D569B6

Accessibility & contrast

On white

7.10
#982B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#982B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982B79
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982B79#FFFFFF#000000##FFFFFF
##982B791.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7B
Deuteranopia (green-blind)
#565F76
Tritanopia (blue-blind)
#A12D4E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982b79;
/* rgb */ color: rgb(152, 43, 121);
/* oklch */ color: oklch(48.3% 0.167 341.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ea0',
    500: '#982b79',
    950: '#000000',
  },
}
SCSS
$custom: #982b79;
$custom-light: #ba6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#982b79",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 317.064,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48281,
    "c": 0.16653,
    "h": 341.4
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#982B79
secondary
#64BB7D
accent
#DF7349
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982B79

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

Preview Lab → · Contrast checker → · Palette generator →

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