#982884#982884

#982884 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.178 H 336.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#982884
RGBrgb(152, 40, 132)
HSLhsl(311, 58%, 38%)
HSVhsv(311, 74%, 60%)
CMYKcmyk(0%, 73.7%, 13.2%, 40.4%)
CIE-LABlab(37.59, 55.46, -26.34)
CIE-LCHlch(37.59, 61.40, 334.59°)
OKLaboklab(48.55% 0.1627 -0.0718)
OKLCHoklch(48.55% 0.178 336.2)
XYZxyz(17.8728, 9.8605, 22.7873)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982884 #28983C
analogous
#742898 #982884 #98284C
triadic
#982884 #849828 #288498
tetradic
#982884 #987428 #28983C #284C98
square
#982884 #987428 #28983C #284C98
split-complementary
#982884 #4C9828 #289874
monochromatic
#370F30 #681B5A #982884 #C835AE #D664C2

Accessibility & contrast

On white

7.07
#982884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#982884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982884
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982884#FFFFFF#000000##FFFFFF
##9828841.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E87
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#A03053
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982884;
/* rgb */ color: rgb(152, 40, 132);
/* oklch */ color: oklch(48.5% 0.178 336.2);
Tailwind
colors: {
  custom: {
    50: '#ba6da8',
    500: '#982884',
    950: '#000000',
  },
}
SCSS
$custom: #982884;
$custom-light: #ba6da8;
$custom-dark: #000000;
JSON
{
  "hex": "#982884",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 310.714,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48549,
    "c": 0.17781,
    "h": 336.2
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#982884
secondary
#60BC70
accent
#E26246
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982884

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

Preview Lab → · Contrast checker → · Palette generator →

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