#982166#982166

#982166 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.167 H 350.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#982166
RGBrgb(152, 33, 102)
HSLhsl(325, 64%, 36%)
HSVhsv(325, 78%, 60%)
CMYKcmyk(0%, 78.3%, 32.9%, 40.4%)
CIE-LABlab(35.45, 53.70, -10.82)
CIE-LCHlch(35.45, 54.77, 348.61°)
OKLaboklab(46.56% 0.1644 -0.0282)
OKLCHoklch(46.56% 0.167 350.3)
XYZxyz(15.8919, 8.7243, 13.4149)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982166 #219853
analogous
#8F2198 #982166 #98212B
triadic
#982166 #669821 #216698
tetradic
#982166 #988F21 #219853 #212B98
square
#982166 #988F21 #219853 #212B98
split-complementary
#982166 #2B9821 #21988F
monochromatic
#330B23 #661644 #982166 #CA2C88 #DB59A4

Accessibility & contrast

On white

7.65
#982166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#982166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982166
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982166#FFFFFF#000000##FFFFFF
##9821661.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364668
Deuteranopia (green-blind)
#585B63
Tritanopia (blue-blind)
#A41841
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #982166;
/* rgb */ color: rgb(152, 33, 102);
/* oklch */ color: oklch(46.6% 0.167 350.3);
Tailwind
colors: {
  custom: {
    50: '#bb6991',
    500: '#982166',
    950: '#000000',
  },
}
SCSS
$custom: #982166;
$custom-light: #bb6991;
$custom-dark: #000000;
JSON
{
  "hex": "#982166",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 325.21,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4656,
    "c": 0.16676,
    "h": 350.3
  },
  "luminance": 0.08722
}

Semantic roles & 50–950 ramp

primary
#982166
secondary
#56BF82
accent
#E78740
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #982166

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

Preview Lab → · Contrast checker → · Palette generator →

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