#982168#982168

#982168 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.168 H 349.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#982168
RGBrgb(152, 33, 104)
HSLhsl(324, 64%, 36%)
HSVhsv(324, 78%, 60%)
CMYKcmyk(0%, 78.3%, 31.6%, 40.4%)
CIE-LABlab(35.53, 53.93, -11.97)
CIE-LCHlch(35.53, 55.25, 347.49°)
OKLaboklab(46.64% 0.1649 -0.0314)
OKLCHoklch(46.64% 0.168 349.2)
XYZxyz(15.9923, 8.7645, 13.9435)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982168 #219851
analogous
#8D2198 #982168 #98212D
triadic
#982168 #689821 #216898
tetradic
#982168 #988D21 #219851 #212D98
square
#982168 #988D21 #219851 #212D98
split-complementary
#982168 #2D9821 #21988D
monochromatic
#330B23 #661646 #982168 #CA2C8A #DB59A6

Accessibility & contrast

On white

7.63
#982168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#982168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982168
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982168#FFFFFF#000000##FFFFFF
##9821681.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35466A
Deuteranopia (green-blind)
#585B65
Tritanopia (blue-blind)
#A31942
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #982168;
/* rgb */ color: rgb(152, 33, 104);
/* oklch */ color: oklch(46.6% 0.168 349.2);
Tailwind
colors: {
  custom: {
    50: '#bb6993',
    500: '#982168',
    950: '#000000',
  },
}
SCSS
$custom: #982168;
$custom-light: #bb6993;
$custom-dark: #000000;
JSON
{
  "hex": "#982168",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 324.202,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.16781,
    "h": 349.2
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#982168
secondary
#56BF80
accent
#E78440
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #982168

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

Preview Lab → · Contrast checker → · Palette generator →

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