#AB557E#AB557E

#AB557E is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.6% C 0.122 H 351.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB557E
RGBrgb(171, 85, 126)
HSLhsl(331, 34%, 50%)
HSVhsv(331, 50%, 67%)
CMYKcmyk(0%, 50.3%, 26.3%, 32.9%)
CIE-LABlab(47.83, 40.05, -6.76)
CIE-LCHlch(47.83, 40.62, 350.42°)
OKLaboklab(56.62% 0.1208 -0.0174)
OKLCHoklch(56.62% 0.122 351.8)
XYZxyz(23.8098, 16.6633, 21.6970)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB557E #55AB82
analogous
#AB55A9 #AB557E #AB5755
triadic
#AB557E #7EAB55 #557EAB
tetradic
#AB557E #A9AB55 #55AB82 #5755AB
square
#AB557E #A9AB55 #55AB82 #5755AB
split-complementary
#AB557E #55AB57 #55A9AB
monochromatic
#592C42 #824060 #AB557E #BF7E9D #D3A7BC

Accessibility & contrast

On white

4.85
#AB557E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AB557E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB557E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB557E#FFFFFF#000000##FFFFFF
##AB557E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F687F
Deuteranopia (green-blind)
#76777C
Tritanopia (blue-blind)
#B65264
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab557e;
/* rgb */ color: rgb(171, 85, 126);
/* oklch */ color: oklch(56.6% 0.122 351.8);
Tailwind
colors: {
  custom: {
    50: '#c688a3',
    500: '#ab557e',
    950: '#000000',
  },
}
SCSS
$custom: #ab557e;
$custom-light: #c688a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab557e",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 126
  },
  "hsl": {
    "h": 331.395,
    "s": 33.858,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56619,
    "c": 0.12206,
    "h": 351.8
  },
  "luminance": 0.16661
}

Semantic roles & 50–950 ramp

primary
#AB557E
secondary
#9BC1AF
accent
#CA965E
background
#FCF8FA
surface
#F8F0F3
border
#D1CBCD
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AB557E

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

Preview Lab → · Contrast checker → · Palette generator →

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