#982177#982177

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

Color values

HEX#982177
RGBrgb(152, 33, 119)
HSLhsl(317, 64%, 36%)
HSVhsv(317, 78%, 60%)
CMYKcmyk(0%, 78.3%, 21.7%, 40.4%)
CIE-LABlab(36.17, 55.86, -20.46)
CIE-LCHlch(36.17, 59.49, 339.88°)
OKLaboklab(47.32% 0.1679 -0.055)
OKLCHoklch(47.32% 0.177 341.9)
XYZxyz(16.8231, 9.0968, 18.3191)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982177 #219842
analogous
#7E2198 #982177 #98213C
triadic
#982177 #779821 #217798
tetradic
#982177 #987E21 #219842 #213C98
square
#982177 #987E21 #219842 #213C98
split-complementary
#982177 #3C9821 #21987E
monochromatic
#330B28 #661650 #982177 #CA2C9E #DB59B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982177#FFFFFF#000000##FFFFFF
##9821771.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)
#2D4979
Deuteranopia (green-blind)
#535C74
Tritanopia (blue-blind)
#A2234A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982177;
/* rgb */ color: rgb(152, 33, 119);
/* oklch */ color: oklch(47.3% 0.177 341.9);
Tailwind
colors: {
  custom: {
    50: '#ba6a9e',
    500: '#982177',
    950: '#000000',
  },
}
SCSS
$custom: #982177;
$custom-light: #ba6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#982177",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 316.639,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4732,
    "c": 0.17664,
    "h": 341.9
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#982177
secondary
#56BF73
accent
#E76F40
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982177

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

Preview Lab → · Contrast checker → · Palette generator →

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