#982A79#982A79

#982A79 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.168 H 341.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#982A79
RGBrgb(152, 42, 121)
HSLhsl(317, 57%, 38%)
HSVhsv(317, 72%, 60%)
CMYKcmyk(0%, 72.4%, 20.4%, 40.4%)
CIE-LABlab(37.32, 53.13, -19.93)
CIE-LCHlch(37.32, 56.74, 339.44°)
OKLaboklab(48.19% 0.159 -0.0536)
OKLCHoklch(48.19% 0.168 341.4)
XYZxyz(17.2286, 9.7135, 19.0530)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A79 #2A9849
analogous
#802A98 #982A79 #982A42
triadic
#982A79 #79982A #2A7998
tetradic
#982A79 #98802A #2A9849 #2A4298
square
#982A79 #98802A #2A9849 #2A4298
split-complementary
#982A79 #42982A #2A9880
monochromatic
#38102D #681D53 #982A79 #C8379F #D567B6

Accessibility & contrast

On white

7.14
#982A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#982A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982A79
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A79#FFFFFF#000000##FFFFFF
##982A791.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#A12C4E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982a79;
/* rgb */ color: rgb(152, 42, 121);
/* oklch */ color: oklch(48.2% 0.168 341.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ea0',
    500: '#982a79',
    950: '#000000',
  },
}
SCSS
$custom: #982a79;
$custom-light: #ba6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#982a79",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 316.909,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48186,
    "c": 0.16778,
    "h": 341.4
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#982A79
secondary
#62BB7B
accent
#E07348
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982A79

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

Preview Lab → · Contrast checker → · Palette generator →

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