#AB487A#AB487A

#AB487A is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.6% C 0.141 H 351.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB487A
RGBrgb(171, 72, 122)
HSLhsl(330, 41%, 48%)
HSVhsv(330, 58%, 67%)
CMYKcmyk(0%, 57.9%, 28.7%, 32.9%)
CIE-LABlab(45.22, 46.00, -8.24)
CIE-LCHlch(45.22, 46.73, 349.84°)
OKLaboklab(54.62% 0.1394 -0.0213)
OKLCHoklch(54.62% 0.141 351.3)
XYZxyz(22.6257, 14.7000, 20.0544)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB487A #48AB79
analogous
#AB48AB #AB487A #AB4848
triadic
#AB487A #7AAB48 #487AAB
tetradic
#AB487A #ABAB48 #48AB79 #4848AB
square
#AB487A #ABAB48 #48AB79 #4848AB
split-complementary
#AB487A #48AB48 #48ABAB
monochromatic
#55243D #80365B #AB487A #C26E99 #D499B7

Accessibility & contrast

On white

5.33
#AB487A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB487A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB487A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB487A#FFFFFF#000000##FFFFFF
##AB487A1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607C
Deuteranopia (green-blind)
#707278
Tritanopia (blue-blind)
#B7445C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab487a;
/* rgb */ color: rgb(171, 72, 122);
/* oklch */ color: oklch(54.6% 0.141 351.3);
Tailwind
colors: {
  custom: {
    50: '#c780a0',
    500: '#ab487a',
    950: '#000000',
  },
}
SCSS
$custom: #ab487a;
$custom-light: #c780a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab487a",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 329.697,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54622,
    "c": 0.14102,
    "h": 351.3
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#AB487A
secondary
#8EC0A7
accent
#D19357
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB487A

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

Preview Lab → · Contrast checker → · Palette generator →

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