#AB577D#AB577D

#AB577D is a mid, moderate pink. Relative luminance 0.170; OKLCH L 56.9% C 0.118 H 353.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB577D
RGBrgb(171, 87, 125)
HSLhsl(333, 33%, 51%)
HSVhsv(333, 49%, 67%)
CMYKcmyk(0%, 49.1%, 26.9%, 32.9%)
CIE-LABlab(48.21, 38.86, -5.60)
CIE-LCHlch(48.21, 39.27, 351.79°)
OKLaboklab(56.89% 0.1173 -0.0143)
OKLCHoklch(56.89% 0.118 353)
XYZxyz(23.9052, 16.9570, 21.4121)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB577D #57AB85
analogous
#AB57A7 #AB577D #AB5B57
triadic
#AB577D #7DAB57 #577DAB
tetradic
#AB577D #A7AB57 #57AB85 #5B57AB
square
#AB577D #A7AB57 #57AB85 #5B57AB
split-complementary
#AB577D #57AB5B #57A7AB
monochromatic
#5A2D42 #83425F #AB577D #BF809D #D4A9BC

Accessibility & contrast

On white

4.78
#AB577D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AB577D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB577D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB577D#FFFFFF#000000##FFFFFF
##AB577D1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61697E
Deuteranopia (green-blind)
#77787B
Tritanopia (blue-blind)
#B65365
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab577d;
/* rgb */ color: rgb(171, 87, 125);
/* oklch */ color: oklch(56.9% 0.118 353.0);
Tailwind
colors: {
  custom: {
    50: '#c689a2',
    500: '#ab577d',
    950: '#000000',
  },
}
SCSS
$custom: #ab577d;
$custom-light: #c689a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab577d",
  "rgb": {
    "r": 171,
    "g": 87,
    "b": 125
  },
  "hsl": {
    "h": 332.857,
    "s": 33.333,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56888,
    "c": 0.11818,
    "h": 353
  },
  "luminance": 0.16955
}

Semantic roles & 50–950 ramp

primary
#AB577D
secondary
#9CC2B1
accent
#C9995E
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130C0F
muted
#827D7E

Preview Lab

Preview with #AB577D

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

Preview Lab → · Contrast checker → · Palette generator →

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