#AB387F#AB387F

#AB387F is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.167 H 346.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AB387F
RGBrgb(171, 56, 127)
HSLhsl(323, 51%, 45%)
HSVhsv(323, 67%, 67%)
CMYKcmyk(0%, 67.3%, 25.7%, 32.9%)
CIE-LABlab(42.79, 53.76, -14.96)
CIE-LCHlch(42.79, 55.80, 344.45°)
OKLaboklab(52.89% 0.1626 -0.0396)
OKLCHoklch(52.89% 0.167 346.3)
XYZxyz(22.0404, 13.0208, 21.4271)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB387F #38AB64
analogous
#9E38AB #AB387F #AB3845
triadic
#AB387F #7FAB38 #387FAB
tetradic
#AB387F #AB9E38 #38AB64 #3845AB
square
#AB387F #AB9E38 #38AB64 #3845AB
split-complementary
#AB387F #45AB38 #38AB9E
monochromatic
#4F1A3B #7D295D #AB387F #C8589D #D786B8

Accessibility & contrast

On white

5.83
#AB387F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AB387F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB387F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB387F#FFFFFF#000000##FFFFFF
##AB387F1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455981
Deuteranopia (green-blind)
#676C7C
Tritanopia (blue-blind)
#B63556
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab387f;
/* rgb */ color: rgb(171, 56, 127);
/* oklch */ color: oklch(52.9% 0.167 346.3);
Tailwind
colors: {
  custom: {
    50: '#c877a4',
    500: '#ab387f',
    950: '#000000',
  },
}
SCSS
$custom: #ab387f;
$custom-light: #c877a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab387f",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 322.957,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5289,
    "c": 0.16734,
    "h": 346.3
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#AB387F
secondary
#7DC197
accent
#DA834E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB387F

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

Preview Lab → · Contrast checker → · Palette generator →

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