#AB557A#AB557A

#AB557A is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.5% C 0.120 H 354.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AB557A
RGBrgb(171, 85, 122)
HSLhsl(334, 34%, 50%)
HSVhsv(334, 50%, 67%)
CMYKcmyk(0%, 50.3%, 28.7%, 32.9%)
CIE-LABlab(47.70, 39.49, -4.54)
CIE-LCHlch(47.70, 39.75, 353.44°)
OKLaboklab(56.48% 0.1195 -0.0115)
OKLCHoklch(56.48% 0.12 354.5)
XYZxyz(23.5568, 16.5621, 20.3647)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB557A #55AB86
analogous
#AB55A5 #AB557A #AB5B55
triadic
#AB557A #7AAB55 #557AAB
tetradic
#AB557A #A5AB55 #55AB86 #5B55AB
square
#AB557A #A5AB55 #55AB86 #5B55AB
split-complementary
#AB557A #55AB5B #55A5AB
monochromatic
#592C40 #82405D #AB557A #BF7E9A #D3A7BA

Accessibility & contrast

On white

4.87
#AB557A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AB557A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB557A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB557A#FFFFFF#000000##FFFFFF
##AB557A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60687B
Deuteranopia (green-blind)
#777778
Tritanopia (blue-blind)
#B65163
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab557a;
/* rgb */ color: rgb(171, 85, 122);
/* oklch */ color: oklch(56.5% 0.120 354.5);
Tailwind
colors: {
  custom: {
    50: '#c687a0',
    500: '#ab557a',
    950: '#000000',
  },
}
SCSS
$custom: #ab557a;
$custom-light: #c687a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab557a",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 122
  },
  "hsl": {
    "h": 334.186,
    "s": 33.858,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56479,
    "c": 0.12002,
    "h": 354.5
  },
  "luminance": 0.1656
}

Semantic roles & 50–950 ramp

primary
#AB557A
secondary
#9BC1B1
accent
#CA9B5E
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AB557A

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

Preview Lab → · Contrast checker → · Palette generator →

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