#AB487B#AB487B

#AB487B is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.7% C 0.142 H 350.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AB487B
RGBrgb(171, 72, 123)
HSLhsl(329, 41%, 48%)
HSVhsv(329, 58%, 67%)
CMYKcmyk(0%, 57.9%, 28.1%, 32.9%)
CIE-LABlab(45.26, 46.13, -8.80)
CIE-LCHlch(45.26, 46.96, 349.20°)
OKLaboklab(54.66% 0.1397 -0.0228)
OKLCHoklch(54.66% 0.142 350.7)
XYZxyz(22.6880, 14.7249, 20.3824)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB487B #48AB78
analogous
#AA48AB #AB487B #AB4849
triadic
#AB487B #7BAB48 #487BAB
tetradic
#AB487B #ABAA48 #48AB78 #4849AB
square
#AB487B #ABAA48 #48AB78 #4849AB
split-complementary
#AB487B #49AB48 #48ABAA
monochromatic
#55243D #80365C #AB487B #C26E99 #D499B8

Accessibility & contrast

On white

5.32
#AB487B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB487B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB487B#FFFFFF#000000##FFFFFF
##AB487B1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607D
Deuteranopia (green-blind)
#6F7279
Tritanopia (blue-blind)
#B7445C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab487b;
/* rgb */ color: rgb(171, 72, 123);
/* oklch */ color: oklch(54.7% 0.142 350.7);
Tailwind
colors: {
  custom: {
    50: '#c780a1',
    500: '#ab487b',
    950: '#000000',
  },
}
SCSS
$custom: #ab487b;
$custom-light: #c780a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab487b",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 329.091,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54659,
    "c": 0.14156,
    "h": 350.7
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB487B

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

Preview Lab → · Contrast checker → · Palette generator →

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