#AB487C#AB487C

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

Color values

HEX#AB487C
RGBrgb(171, 72, 124)
HSLhsl(328, 41%, 48%)
HSVhsv(328, 58%, 67%)
CMYKcmyk(0%, 57.9%, 27.5%, 32.9%)
CIE-LABlab(45.29, 46.27, -9.35)
CIE-LCHlch(45.29, 47.20, 348.57°)
OKLaboklab(54.7% 0.14 -0.0243)
OKLCHoklch(54.7% 0.142 350.1)
XYZxyz(22.7509, 14.7500, 20.7137)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB487C #48AB77
analogous
#A948AB #AB487C #AB484A
triadic
#AB487C #7CAB48 #487CAB
tetradic
#AB487C #ABA948 #48AB77 #484AAB
square
#AB487C #ABA948 #48AB77 #484AAB
split-complementary
#AB487C #4AAB48 #48ABA9
monochromatic
#55243E #80365D #AB487C #C26E9A #D499B8

Accessibility & contrast

On white

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

On black

3.95
#AB487C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB487C#FFFFFF#000000##FFFFFF
##AB487C1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607E
Deuteranopia (green-blind)
#6F727A
Tritanopia (blue-blind)
#B6445C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab487c;
/* rgb */ color: rgb(171, 72, 124);
/* oklch */ color: oklch(54.7% 0.142 350.1);
Tailwind
colors: {
  custom: {
    50: '#c780a2',
    500: '#ab487c',
    950: '#000000',
  },
}
SCSS
$custom: #ab487c;
$custom-light: #c780a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab487c",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 328.485,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54697,
    "c": 0.14211,
    "h": 350.1
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#AB487C
secondary
#8EC0A6
accent
#D19157
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0F
muted
#827C7E

Preview Lab

Preview with #AB487C

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

Preview Lab → · Contrast checker → · Palette generator →

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