#982079#982079

#982079 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.179 H 340.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#982079
RGBrgb(152, 32, 121)
HSLhsl(316, 65%, 36%)
HSVhsv(316, 79%, 60%)
CMYKcmyk(0%, 78.9%, 20.4%, 40.4%)
CIE-LABlab(36.16, 56.43, -21.73)
CIE-LCHlch(36.16, 60.48, 338.94°)
OKLaboklab(47.34% 0.1691 -0.0586)
OKLCHoklch(47.34% 0.179 340.9)
XYZxyz(16.9171, 9.0906, 18.9492)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982079 #20983F
analogous
#7B2098 #982079 #98203D
triadic
#982079 #799820 #207998
tetradic
#982079 #987B20 #20983F #203D98
square
#982079 #987B20 #20983F #203D98
split-complementary
#982079 #3D9820 #20987B
monochromatic
#330B29 #651551 #982079 #CB2BA1 #DC57B9

Accessibility & contrast

On white

7.45
#982079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#982079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982079
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982079#FFFFFF#000000##FFFFFF
##9820791.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982079;
/* rgb */ color: rgb(152, 32, 121);
/* oklch */ color: oklch(47.3% 0.179 340.9);
Tailwind
colors: {
  custom: {
    50: '#ba6aa0',
    500: '#982079',
    950: '#000000',
  },
}
SCSS
$custom: #982079;
$custom-light: #ba6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#982079",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 315.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.17894,
    "h": 340.9
  },
  "luminance": 0.09089
}

Semantic roles & 50–950 ramp

primary
#982079
secondary
#54BF70
accent
#E86B40
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982079

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

Preview Lab → · Contrast checker → · Palette generator →

#982079 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva