#AB4E87#AB4E87

#AB4E87 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 55.9% C 0.139 H 344.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB4E87
RGBrgb(171, 78, 135)
HSLhsl(323, 37%, 49%)
HSVhsv(323, 54%, 67%)
CMYKcmyk(0%, 54.4%, 21.1%, 32.9%)
CIE-LABlab(46.79, 44.92, -13.75)
CIE-LCHlch(46.79, 46.98, 342.98°)
OKLaboklab(55.94% 0.1343 -0.0364)
OKLCHoklch(55.94% 0.139 344.8)
XYZxyz(23.8928, 15.8580, 24.7195)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E87 #4EAB72
analogous
#A14EAB #AB4E87 #AB4E59
triadic
#AB4E87 #87AB4E #4E87AB
tetradic
#AB4E87 #ABA14E #4EAB72 #4E59AB
square
#AB4E87 #ABA14E #4EAB72 #4E59AB
split-complementary
#AB4E87 #59AB4E #4EABA1
monochromatic
#572845 #813B66 #AB4E87 #C076A4 #D4A0C0

Accessibility & contrast

On white

5.03
#AB4E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AB4E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E87
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E87#FFFFFF#000000##FFFFFF
##AB4E871.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566589
Deuteranopia (green-blind)
#6F7585
Tritanopia (blue-blind)
#B54D64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab4e87;
/* rgb */ color: rgb(171, 78, 135);
/* oklch */ color: oklch(55.9% 0.139 344.8);
Tailwind
colors: {
  custom: {
    50: '#c683aa',
    500: '#ab4e87',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e87;
$custom-light: #c683aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e87",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 323.226,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.13913,
    "h": 344.8
  },
  "luminance": 0.15856
}

Semantic roles & 50–950 ramp

primary
#AB4E87
secondary
#94C1A5
accent
#CD875A
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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