#982082#982082

#982082 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.185 H 336.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#982082
RGBrgb(152, 32, 130)
HSLhsl(311, 65%, 36%)
HSVhsv(311, 79%, 60%)
CMYKcmyk(0%, 78.9%, 14.5%, 40.4%)
CIE-LABlab(36.60, 57.71, -26.66)
CIE-LCHlch(36.60, 63.57, 335.20°)
OKLaboklab(47.8% 0.1701 -0.0726)
OKLCHoklch(47.8% 0.185 336.9)
XYZxyz(17.4950, 9.3218, 21.9927)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982082 #209836
analogous
#722098 #982082 #982046
triadic
#982082 #829820 #208298
tetradic
#982082 #987220 #209836 #204698
square
#982082 #987220 #209836 #204698
split-complementary
#982082 #469820 #209872
monochromatic
#330B2C #651557 #982082 #CB2BAD #DC57C3

Accessibility & contrast

On white

7.33
#982082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#982082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982082
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982082#FFFFFF#000000##FFFFFF
##9820821.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#4E5D7F
Tritanopia (blue-blind)
#A02950
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982082;
/* rgb */ color: rgb(152, 32, 130);
/* oklch */ color: oklch(47.8% 0.185 336.9);
Tailwind
colors: {
  custom: {
    50: '#ba6aa6',
    500: '#982082',
    950: '#000000',
  },
}
SCSS
$custom: #982082;
$custom-light: #ba6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#982082",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 311,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.478,
    "c": 0.18496,
    "h": 336.9
  },
  "luminance": 0.0932
}

Semantic roles & 50–950 ramp

primary
#982082
secondary
#54BF68
accent
#E85F40
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #982082

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

Preview Lab → · Contrast checker → · Palette generator →

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