#AB557F#AB557F

#AB557F is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.7% C 0.123 H 351.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AB557F
RGBrgb(171, 85, 127)
HSLhsl(331, 34%, 50%)
HSVhsv(331, 50%, 67%)
CMYKcmyk(0%, 50.3%, 25.7%, 32.9%)
CIE-LABlab(47.87, 40.19, -7.31)
CIE-LCHlch(47.87, 40.85, 349.69°)
OKLaboklab(56.66% 0.1211 -0.0189)
OKLCHoklch(56.66% 0.123 351.1)
XYZxyz(23.8746, 16.6892, 22.0385)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB557F #55AB81
analogous
#AB55AA #AB557F #AB5655
triadic
#AB557F #7FAB55 #557FAB
tetradic
#AB557F #AAAB55 #55AB81 #5655AB
square
#AB557F #AAAB55 #55AB81 #5655AB
split-complementary
#AB557F #55AB56 #55AAAB
monochromatic
#592C42 #824061 #AB557F #BF7E9E #D3A7BD

Accessibility & contrast

On white

4.84
#AB557F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AB557F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB557F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB557F#FFFFFF#000000##FFFFFF
##AB557F1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6880
Deuteranopia (green-blind)
#75777D
Tritanopia (blue-blind)
#B65265
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab557f;
/* rgb */ color: rgb(171, 85, 127);
/* oklch */ color: oklch(56.7% 0.123 351.1);
Tailwind
colors: {
  custom: {
    50: '#c688a4',
    500: '#ab557f',
    950: '#000000',
  },
}
SCSS
$custom: #ab557f;
$custom-light: #c688a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab557f",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 127
  },
  "hsl": {
    "h": 330.698,
    "s": 33.858,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56655,
    "c": 0.12261,
    "h": 351.1
  },
  "luminance": 0.16687
}

Semantic roles & 50–950 ramp

primary
#AB557F
secondary
#9BC1AE
accent
#CA955E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AB557F

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

Preview Lab → · Contrast checker → · Palette generator →

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