#AB3980#AB3980

#AB3980 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.167 H 345.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AB3980
RGBrgb(171, 57, 128)
HSLhsl(323, 50%, 45%)
HSVhsv(323, 67%, 67%)
CMYKcmyk(0%, 66.7%, 25.1%, 32.9%)
CIE-LABlab(42.98, 53.49, -15.29)
CIE-LCHlch(42.98, 55.63, 344.05°)
OKLaboklab(53.04% 0.1616 -0.0405)
OKLCHoklch(53.04% 0.167 345.9)
XYZxyz(22.1548, 13.1449, 21.7883)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3980 #39AB64
analogous
#9D39AB #AB3980 #AB3947
triadic
#AB3980 #80AB39 #3980AB
tetradic
#AB3980 #AB9D39 #39AB64 #3947AB
square
#AB3980 #AB9D39 #39AB64 #3947AB
split-complementary
#AB3980 #47AB39 #39AB9D
monochromatic
#4F1A3B #7D2A5E #AB3980 #C8599E #D787B9

Accessibility & contrast

On white

5.79
#AB3980 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AB3980 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3980
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3980#FFFFFF#000000##FFFFFF
##AB39801.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465982
Deuteranopia (green-blind)
#676D7D
Tritanopia (blue-blind)
#B63757
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3980;
/* rgb */ color: rgb(171, 57, 128);
/* oklch */ color: oklch(53.0% 0.167 345.9);
Tailwind
colors: {
  custom: {
    50: '#c877a5',
    500: '#ab3980',
    950: '#000000',
  },
}
SCSS
$custom: #ab3980;
$custom-light: #c877a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3980",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 128
  },
  "hsl": {
    "h": 322.632,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5304,
    "c": 0.16658,
    "h": 345.9
  },
  "luminance": 0.13143
}

Semantic roles & 50–950 ramp

primary
#AB3980
secondary
#7FC198
accent
#DA834E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3980

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

Preview Lab → · Contrast checker → · Palette generator →

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