#982162#982162

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

Color values

HEX#982162
RGBrgb(152, 33, 98)
HSLhsl(327, 64%, 36%)
HSVhsv(327, 78%, 60%)
CMYKcmyk(0%, 78.3%, 35.5%, 40.4%)
CIE-LABlab(35.30, 53.23, -8.49)
CIE-LCHlch(35.30, 53.90, 350.94°)
OKLaboklab(46.4% 0.1633 -0.0219)
OKLCHoklch(46.4% 0.165 352.4)
XYZxyz(15.6983, 8.6469, 12.3952)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982162 #219857
analogous
#932198 #982162 #982127
triadic
#982162 #629821 #216298
tetradic
#982162 #989321 #219857 #212798
square
#982162 #989321 #219857 #212798
split-complementary
#982162 #279821 #219893
monochromatic
#330B21 #661642 #982162 #CA2C82 #DB59A0

Accessibility & contrast

On white

7.70
#982162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982162
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982162#FFFFFF#000000##FFFFFF
##9821621.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374564
Deuteranopia (green-blind)
#595B5F
Tritanopia (blue-blind)
#A4153F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #982162;
/* rgb */ color: rgb(152, 33, 98);
/* oklch */ color: oklch(46.4% 0.165 352.4);
Tailwind
colors: {
  custom: {
    50: '#bb698e',
    500: '#982162',
    950: '#000000',
  },
}
SCSS
$custom: #982162;
$custom-light: #bb698e;
$custom-dark: #000000;
JSON
{
  "hex": "#982162",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 327.227,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46399,
    "c": 0.16476,
    "h": 352.4
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #982162

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

Preview Lab → · Contrast checker → · Palette generator →

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