#982062#982062

#982062 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.166 H 352.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#982062
RGBrgb(152, 32, 98)
HSLhsl(327, 65%, 36%)
HSVhsv(327, 79%, 60%)
CMYKcmyk(0%, 78.9%, 35.5%, 40.4%)
CIE-LABlab(35.19, 53.54, -8.65)
CIE-LCHlch(35.19, 54.23, 350.82°)
OKLaboklab(46.32% 0.1643 -0.0223)
OKLCHoklch(46.32% 0.166 352.3)
XYZxyz(15.6710, 8.5922, 12.3861)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982062 #209856
analogous
#922098 #982062 #982026
triadic
#982062 #629820 #206298
tetradic
#982062 #989220 #209856 #202698
square
#982062 #989220 #209856 #202698
split-complementary
#982062 #269820 #209892
monochromatic
#330B21 #651541 #982062 #CB2B83 #DC57A0

Accessibility & contrast

On white

7.73
#982062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#982062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982062
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982062#FFFFFF#000000##FFFFFF
##9820621.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982062;
/* rgb */ color: rgb(152, 32, 98);
/* oklch */ color: oklch(46.3% 0.166 352.3);
Tailwind
colors: {
  custom: {
    50: '#bb698e',
    500: '#982062',
    950: '#000000',
  },
}
SCSS
$custom: #982062;
$custom-light: #bb698e;
$custom-dark: #000000;
JSON
{
  "hex": "#982062",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 327,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4632,
    "c": 0.16579,
    "h": 352.3
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

primary
#982062
secondary
#54BF85
accent
#E88B40
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #982062

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

Preview Lab → · Contrast checker → · Palette generator →

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