#AB487D#AB487D

#AB487D is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.7% C 0.143 H 349.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB487D
RGBrgb(171, 72, 125)
HSLhsl(328, 41%, 48%)
HSVhsv(328, 58%, 67%)
CMYKcmyk(0%, 57.9%, 26.9%, 32.9%)
CIE-LABlab(45.33, 46.41, -9.91)
CIE-LCHlch(45.33, 47.45, 347.95°)
OKLaboklab(54.74% 0.1403 -0.0258)
OKLCHoklch(54.74% 0.143 349.6)
XYZxyz(22.8145, 14.7755, 21.0485)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB487D #48AB76
analogous
#A848AB #AB487D #AB484B
triadic
#AB487D #7DAB48 #487DAB
tetradic
#AB487D #ABA848 #48AB76 #484BAB
square
#AB487D #ABA848 #48AB76 #484BAB
split-complementary
#AB487D #4BAB48 #48ABA8
monochromatic
#55243E #80365E #AB487D #C26E9B #D499B9

Accessibility & contrast

On white

5.31
#AB487D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB487D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB487D#FFFFFF#000000##FFFFFF
##AB487D1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607F
Deuteranopia (green-blind)
#6F727B
Tritanopia (blue-blind)
#B6455D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab487d;
/* rgb */ color: rgb(171, 72, 125);
/* oklch */ color: oklch(54.7% 0.143 349.6);
Tailwind
colors: {
  custom: {
    50: '#c780a2',
    500: '#ab487d',
    950: '#000000',
  },
}
SCSS
$custom: #ab487d;
$custom-light: #c780a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab487d",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 327.879,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54735,
    "c": 0.14266,
    "h": 349.6
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#AB487D
secondary
#8EC0A6
accent
#D19057
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB487D

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

Preview Lab → · Contrast checker → · Palette generator →

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