#982080#982080

#982080 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.184 H 337.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#982080
RGBrgb(152, 32, 128)
HSLhsl(312, 65%, 36%)
HSVhsv(312, 79%, 60%)
CMYKcmyk(0%, 78.9%, 15.8%, 40.4%)
CIE-LABlab(36.50, 57.42, -25.58)
CIE-LCHlch(36.50, 62.86, 335.99°)
OKLaboklab(47.7% 0.1699 -0.0695)
OKLCHoklch(47.7% 0.184 337.7)
XYZxyz(17.3621, 9.2686, 21.2925)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982080 #209838
analogous
#742098 #982080 #982044
triadic
#982080 #809820 #208098
tetradic
#982080 #987420 #209838 #204498
square
#982080 #987420 #209838 #204498
split-complementary
#982080 #449820 #209874
monochromatic
#330B2B #651555 #982080 #CB2BAB #DC57C1

Accessibility & contrast

On white

7.36
#982080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#982080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982080
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982080#FFFFFF#000000##FFFFFF
##9820801.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A83
Deuteranopia (green-blind)
#4F5C7D
Tritanopia (blue-blind)
#A1274E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982080;
/* rgb */ color: rgb(152, 32, 128);
/* oklch */ color: oklch(47.7% 0.184 337.7);
Tailwind
colors: {
  custom: {
    50: '#ba6aa5',
    500: '#982080',
    950: '#000000',
  },
}
SCSS
$custom: #982080;
$custom-light: #ba6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#982080",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 312,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47696,
    "c": 0.18359,
    "h": 337.7
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#982080
secondary
#54BF6A
accent
#E86140
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #982080

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

Preview Lab → · Contrast checker → · Palette generator →

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