#AB4B87#AB4B87

#AB4B87 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.5% C 0.144 H 344.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AB4B87
RGBrgb(171, 75, 135)
HSLhsl(323, 39%, 48%)
HSVhsv(323, 56%, 67%)
CMYKcmyk(0%, 56.1%, 21.1%, 32.9%)
CIE-LABlab(46.23, 46.39, -14.60)
CIE-LCHlch(46.23, 48.64, 342.54°)
OKLaboklab(55.53% 0.1387 -0.0387)
OKLCHoklch(55.53% 0.144 344.4)
XYZxyz(23.6845, 15.4414, 24.6501)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4B87 #4BAB6F
analogous
#9F4BAB #AB4B87 #AB4B57
triadic
#AB4B87 #87AB4B #4B87AB
tetradic
#AB4B87 #AB9F4B #4BAB6F #4B57AB
square
#AB4B87 #AB9F4B #4BAB6F #4B57AB
split-complementary
#AB4B87 #57AB4B #4BAB9F
monochromatic
#562644 #803865 #AB4B87 #C172A3 #D49DBF

Accessibility & contrast

On white

5.14
#AB4B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AB4B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4B87
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4B87#FFFFFF#000000##FFFFFF
##AB4B871.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536389
Deuteranopia (green-blind)
#6E7385
Tritanopia (blue-blind)
#B54A63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4b87;
/* rgb */ color: rgb(171, 75, 135);
/* oklch */ color: oklch(55.5% 0.144 344.4);
Tailwind
colors: {
  custom: {
    50: '#c782aa',
    500: '#ab4b87',
    950: '#000000',
  },
}
SCSS
$custom: #ab4b87;
$custom-light: #c782aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4b87",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 322.5,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55529,
    "c": 0.14403,
    "h": 344.4
  },
  "luminance": 0.15439
}

Semantic roles & 50–950 ramp

primary
#AB4B87
secondary
#91C0A3
accent
#CF8559
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4B87

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

Preview Lab → · Contrast checker → · Palette generator →

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