#AB4986#AB4986

#AB4986 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.2% C 0.147 H 344.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AB4986
RGBrgb(171, 73, 134)
HSLhsl(323, 40%, 48%)
HSVhsv(323, 57%, 67%)
CMYKcmyk(0%, 57.3%, 21.6%, 32.9%)
CIE-LABlab(45.83, 47.21, -14.60)
CIE-LCHlch(45.83, 49.41, 342.82°)
OKLaboklab(55.22% 0.1414 -0.0387)
OKLCHoklch(55.22% 0.147 344.7)
XYZxyz(23.4809, 15.1463, 24.2365)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4986 #49AB6E
analogous
#9F49AB #AB4986 #AB4955
triadic
#AB4986 #86AB49 #4986AB
tetradic
#AB4986 #AB9F49 #49AB6E #4955AB
square
#AB4986 #AB9F49 #49AB6E #4955AB
split-complementary
#AB4986 #55AB49 #49AB9F
monochromatic
#552443 #803764 #AB4986 #C26FA3 #D49ABE

Accessibility & contrast

On white

5.21
#AB4986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AB4986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4986
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4986#FFFFFF#000000##FFFFFF
##AB49861.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516288
Deuteranopia (green-blind)
#6D7384
Tritanopia (blue-blind)
#B54861
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4986;
/* rgb */ color: rgb(171, 73, 134);
/* oklch */ color: oklch(55.2% 0.147 344.7);
Tailwind
colors: {
  custom: {
    50: '#c780a9',
    500: '#ab4986',
    950: '#000000',
  },
}
SCSS
$custom: #ab4986;
$custom-light: #c780a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4986",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 322.653,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55221,
    "c": 0.14657,
    "h": 344.7
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#AB4986
secondary
#8FC0A2
accent
#D08558
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AB4986

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

Preview Lab → · Contrast checker → · Palette generator →

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