#AB4A87#AB4A87

#AB4A87 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.4% C 0.146 H 344.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB4A87
RGBrgb(171, 74, 135)
HSLhsl(322, 40%, 48%)
HSVhsv(322, 57%, 67%)
CMYKcmyk(0%, 56.7%, 21.1%, 32.9%)
CIE-LABlab(46.05, 46.88, -14.87)
CIE-LCHlch(46.05, 49.18, 342.40°)
OKLaboklab(55.4% 0.1402 -0.0395)
OKLCHoklch(55.4% 0.146 344.3)
XYZxyz(23.6172, 15.3068, 24.6276)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4A87 #4AAB6E
analogous
#9E4AAB #AB4A87 #AB4A56
triadic
#AB4A87 #87AB4A #4A87AB
tetradic
#AB4A87 #AB9E4A #4AAB6E #4A56AB
square
#AB4A87 #AB9E4A #4AAB6E #4A56AB
split-complementary
#AB4A87 #56AB4A #4AAB9E
monochromatic
#562544 #803865 #AB4A87 #C171A3 #D49BBF

Accessibility & contrast

On white

5.17
#AB4A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AB4A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4A87
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4A87#FFFFFF#000000##FFFFFF
##AB4A871.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526389
Deuteranopia (green-blind)
#6D7385
Tritanopia (blue-blind)
#B54A62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4a87;
/* rgb */ color: rgb(171, 74, 135);
/* oklch */ color: oklch(55.4% 0.146 344.3);
Tailwind
colors: {
  custom: {
    50: '#c781aa',
    500: '#ab4a87',
    950: '#000000',
  },
}
SCSS
$custom: #ab4a87;
$custom-light: #c781aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4a87",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 322.268,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55395,
    "c": 0.14563,
    "h": 344.3
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#AB4A87
secondary
#90C0A2
accent
#CF8558
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4A87

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

Preview Lab → · Contrast checker → · Palette generator →

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