#982176#982176

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

Color values

HEX#982176
RGBrgb(152, 33, 118)
HSLhsl(317, 64%, 36%)
HSVhsv(317, 78%, 60%)
CMYKcmyk(0%, 78.3%, 22.4%, 40.4%)
CIE-LABlab(36.12, 55.73, -19.91)
CIE-LCHlch(36.12, 59.17, 340.34°)
OKLaboklab(47.27% 0.1677 -0.0534)
OKLCHoklch(47.27% 0.176 342.3)
XYZxyz(16.7634, 9.0729, 18.0044)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982176 #219843
analogous
#7F2198 #982176 #98213B
triadic
#982176 #769821 #217698
tetradic
#982176 #987F21 #219843 #213B98
square
#982176 #987F21 #219843 #213B98
split-complementary
#982176 #3B9821 #21987F
monochromatic
#330B28 #66164F #982176 #CA2C9D #DB59B6

Accessibility & contrast

On white

7.46
#982176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#982176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982176
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982176#FFFFFF#000000##FFFFFF
##9821761.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4978
Deuteranopia (green-blind)
#535C73
Tritanopia (blue-blind)
#A22249
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982176;
/* rgb */ color: rgb(152, 33, 118);
/* oklch */ color: oklch(47.3% 0.176 342.3);
Tailwind
colors: {
  custom: {
    50: '#ba6a9d',
    500: '#982176',
    950: '#000000',
  },
}
SCSS
$custom: #982176;
$custom-light: #ba6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#982176",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 317.143,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47272,
    "c": 0.17601,
    "h": 342.3
  },
  "luminance": 0.09071
}

Semantic roles & 50–950 ramp

primary
#982176
secondary
#56BF74
accent
#E77040
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982176

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

Preview Lab → · Contrast checker → · Palette generator →

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