#982980#982980

#982980 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.174 H 338.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#982980
RGBrgb(152, 41, 128)
HSLhsl(313, 58%, 38%)
HSVhsv(313, 73%, 60%)
CMYKcmyk(0%, 73%, 15.8%, 40.4%)
CIE-LABlab(37.52, 54.51, -23.98)
CIE-LCHlch(37.52, 59.55, 336.25°)
OKLaboklab(48.44% 0.1612 -0.065)
OKLCHoklch(48.44% 0.174 338)
XYZxyz(17.6385, 9.8214, 21.3847)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982980 #299841
analogous
#782998 #982980 #982948
triadic
#982980 #809829 #298098
tetradic
#982980 #987829 #299841 #294898
square
#982980 #987829 #299841 #294898
split-complementary
#982980 #489829 #299878
monochromatic
#380F2F #681C57 #982980 #C836A9 #D666BD

Accessibility & contrast

On white

7.09
#982980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#982980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982980
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982980#FFFFFF#000000##FFFFFF
##9829801.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D82
Deuteranopia (green-blind)
#525E7D
Tritanopia (blue-blind)
#A02F51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982980;
/* rgb */ color: rgb(152, 41, 128);
/* oklch */ color: oklch(48.4% 0.174 338.0);
Tailwind
colors: {
  custom: {
    50: '#ba6ea5',
    500: '#982980',
    950: '#000000',
  },
}
SCSS
$custom: #982980;
$custom-light: #ba6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#982980",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 312.973,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48435,
    "c": 0.17379,
    "h": 338
  },
  "luminance": 0.0982
}

Semantic roles & 50–950 ramp

primary
#982980
secondary
#61BC75
accent
#E16847
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982980

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

Preview Lab → · Contrast checker → · Palette generator →

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