#982179#982179

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

Color values

HEX#982179
RGBrgb(152, 33, 121)
HSLhsl(316, 64%, 36%)
HSVhsv(316, 78%, 60%)
CMYKcmyk(0%, 78.3%, 20.4%, 40.4%)
CIE-LABlab(36.26, 56.14, -21.57)
CIE-LCHlch(36.26, 60.14, 338.98°)
OKLaboklab(47.42% 0.1682 -0.0581)
OKLCHoklch(47.42% 0.178 340.9)
XYZxyz(16.9445, 9.1453, 18.9583)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982179 #219840
analogous
#7C2198 #982179 #98213E
triadic
#982179 #799821 #217998
tetradic
#982179 #987C21 #219840 #213E98
square
#982179 #987C21 #219840 #213E98
split-complementary
#982179 #3E9821 #21987C
monochromatic
#330B29 #661651 #982179 #CA2CA1 #DB59B9

Accessibility & contrast

On white

7.42
#982179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#982179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982179
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982179#FFFFFF#000000##FFFFFF
##9821791.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982179;
/* rgb */ color: rgb(152, 33, 121);
/* oklch */ color: oklch(47.4% 0.178 340.9);
Tailwind
colors: {
  custom: {
    50: '#ba6aa0',
    500: '#982179',
    950: '#000000',
  },
}
SCSS
$custom: #982179;
$custom-light: #ba6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#982179",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 315.63,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47417,
    "c": 0.17793,
    "h": 340.9
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#982179
secondary
#56BF71
accent
#E76C40
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982179

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

Preview Lab → · Contrast checker → · Palette generator →

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