#982164#982164

#982164 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.166 H 351.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#982164
RGBrgb(152, 33, 100)
HSLhsl(326, 64%, 36%)
HSVhsv(326, 78%, 60%)
CMYKcmyk(0%, 78.3%, 34.2%, 40.4%)
CIE-LABlab(35.37, 53.46, -9.66)
CIE-LCHlch(35.37, 54.33, 349.76°)
OKLaboklab(46.48% 0.1638 -0.025)
OKLCHoklch(46.48% 0.166 351.3)
XYZxyz(15.7939, 8.6851, 12.8988)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982164 #219855
analogous
#912198 #982164 #982129
triadic
#982164 #649821 #216498
tetradic
#982164 #989121 #219855 #212998
square
#982164 #989121 #219855 #212998
split-complementary
#982164 #299821 #219891
monochromatic
#330B22 #661643 #982164 #CA2C85 #DB59A2

Accessibility & contrast

On white

7.67
#982164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982164
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982164#FFFFFF#000000##FFFFFF
##9821641.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374666
Deuteranopia (green-blind)
#595B61
Tritanopia (blue-blind)
#A41740
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #982164;
/* rgb */ color: rgb(152, 33, 100);
/* oklch */ color: oklch(46.5% 0.166 351.3);
Tailwind
colors: {
  custom: {
    50: '#bb6990',
    500: '#982164',
    950: '#000000',
  },
}
SCSS
$custom: #982164;
$custom-light: #bb6990;
$custom-dark: #000000;
JSON
{
  "hex": "#982164",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 326.218,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46479,
    "c": 0.16574,
    "h": 351.3
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#982164
secondary
#56BF84
accent
#E78940
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #982164

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

Preview Lab → · Contrast checker → · Palette generator →

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