#AB4387#AB4387

#AB4387 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.5% C 0.157 H 343.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB4387
RGBrgb(171, 67, 135)
HSLhsl(321, 44%, 47%)
HSVhsv(321, 61%, 67%)
CMYKcmyk(0%, 60.8%, 21.1%, 32.9%)
CIE-LABlab(44.83, 50.15, -16.73)
CIE-LCHlch(44.83, 52.87, 341.56°)
OKLaboklab(54.49% 0.1501 -0.0446)
OKLCHoklch(54.49% 0.157 343.5)
XYZxyz(23.1756, 14.4236, 24.4804)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4387 #43AB67
analogous
#9B43AB #AB4387 #AB4353
triadic
#AB4387 #87AB43 #4387AB
tetradic
#AB4387 #AB9B43 #43AB67 #4353AB
square
#AB4387 #AB9B43 #43AB67 #4353AB
split-complementary
#AB4387 #53AB43 #43AB9B
monochromatic
#532142 #7F3264 #AB4387 #C468A4 #D594BE

Accessibility & contrast

On white

5.41
#AB4387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AB4387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4387
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4387#FFFFFF#000000##FFFFFF
##AB43871.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#697084
Tritanopia (blue-blind)
#B5435F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab4387;
/* rgb */ color: rgb(171, 67, 135);
/* oklch */ color: oklch(54.5% 0.157 343.5);
Tailwind
colors: {
  custom: {
    50: '#c77daa',
    500: '#ab4387',
    950: '#000000',
  },
}
SCSS
$custom: #ab4387;
$custom-light: #c77daa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4387",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 320.769,
    "s": 43.697,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.15656,
    "h": 343.5
  },
  "luminance": 0.14422
}

Semantic roles & 50–950 ramp

primary
#AB4387
secondary
#89C09C
accent
#D38054
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB4387

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

Preview Lab → · Contrast checker → · Palette generator →

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