#982161#982161

#982161 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.164 H 352.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#982161
RGBrgb(152, 33, 97)
HSLhsl(328, 64%, 36%)
HSVhsv(328, 78%, 60%)
CMYKcmyk(0%, 78.3%, 36.2%, 40.4%)
CIE-LABlab(35.26, 53.12, -7.91)
CIE-LCHlch(35.26, 53.70, 351.53°)
OKLaboklab(46.36% 0.163 -0.0203)
OKLCHoklch(46.36% 0.164 352.9)
XYZxyz(15.6514, 8.6281, 12.1481)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982161 #219858
analogous
#942198 #982161 #982126
triadic
#982161 #619821 #216198
tetradic
#982161 #989421 #219858 #212698
square
#982161 #989421 #219858 #212698
split-complementary
#982161 #269821 #219894
monochromatic
#330B21 #661641 #982161 #CA2C81 #DB599F

Accessibility & contrast

On white

7.71
#982161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#982161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982161
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982161#FFFFFF#000000##FFFFFF
##9821611.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384563
Deuteranopia (green-blind)
#5A5B5E
Tritanopia (blue-blind)
#A4143E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #982161;
/* rgb */ color: rgb(152, 33, 97);
/* oklch */ color: oklch(46.4% 0.164 352.9);
Tailwind
colors: {
  custom: {
    50: '#bb698d',
    500: '#982161',
    950: '#000000',
  },
}
SCSS
$custom: #982161;
$custom-light: #bb698d;
$custom-dark: #000000;
JSON
{
  "hex": "#982161",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 327.731,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.16428,
    "h": 352.9
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#982161
secondary
#56BF86
accent
#E78E40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #982161

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

Preview Lab → · Contrast checker → · Palette generator →

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