#AB387A#AB387A

#AB387A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.164 H 348.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AB387A
RGBrgb(171, 56, 122)
HSLhsl(326, 51%, 45%)
HSVhsv(326, 67%, 67%)
CMYKcmyk(0%, 67.3%, 28.7%, 32.9%)
CIE-LABlab(42.60, 53.10, -12.18)
CIE-LCHlch(42.60, 54.48, 347.08°)
OKLaboklab(52.69% 0.1613 -0.0319)
OKLCHoklch(52.69% 0.164 348.8)
XYZxyz(21.7226, 12.8937, 19.7533)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB387A #38AB69
analogous
#A338AB #AB387A #AB3841
triadic
#AB387A #7AAB38 #387AAB
tetradic
#AB387A #ABA338 #38AB69 #3841AB
square
#AB387A #ABA338 #38AB69 #3841AB
split-complementary
#AB387A #41AB38 #38ABA3
monochromatic
#4F1A38 #7D2959 #AB387A #C85898 #D786B5

Accessibility & contrast

On white

5.87
#AB387A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB387A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB387A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB387A#FFFFFF#000000##FFFFFF
##AB387A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587C
Deuteranopia (green-blind)
#686C77
Tritanopia (blue-blind)
#B73354
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab387a;
/* rgb */ color: rgb(171, 56, 122);
/* oklch */ color: oklch(52.7% 0.164 348.8);
Tailwind
colors: {
  custom: {
    50: '#c877a0',
    500: '#ab387a',
    950: '#000000',
  },
}
SCSS
$custom: #ab387a;
$custom-light: #c877a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab387a",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 325.565,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.16447,
    "h": 348.8
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#AB387A
secondary
#7DC19A
accent
#DA8A4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB387A

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

Preview Lab → · Contrast checker → · Palette generator →

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