#AB558F#AB558F

#AB558F is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.3% C 0.133 H 341.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB558F
RGBrgb(171, 85, 143)
HSLhsl(320, 34%, 50%)
HSVhsv(320, 50%, 67%)
CMYKcmyk(0%, 50.3%, 16.4%, 32.9%)
CIE-LABlab(48.44, 42.62, -16.05)
CIE-LCHlch(48.44, 45.54, 339.37°)
OKLaboklab(57.27% 0.1259 -0.0428)
OKLCHoklch(57.27% 0.133 341.2)
XYZxyz(25.0014, 17.1399, 27.9728)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB558F #55AB71
analogous
#9C55AB #AB558F #AB5564
triadic
#AB558F #8FAB55 #558FAB
tetradic
#AB558F #AB9C55 #55AB71 #5564AB
square
#AB558F #AB9C55 #55AB71 #5564AB
split-complementary
#AB558F #64AB55 #55AB9C
monochromatic
#592C4B #82406D #AB558F #BF7EAA #D3A7C5

Accessibility & contrast

On white

4.74
#AB558F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AB558F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB558F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB558F#FFFFFF#000000##FFFFFF
##AB558F1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A91
Deuteranopia (green-blind)
#71788D
Tritanopia (blue-blind)
#B4566B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab558f;
/* rgb */ color: rgb(171, 85, 143);
/* oklch */ color: oklch(57.3% 0.133 341.2);
Tailwind
colors: {
  custom: {
    50: '#c688b0',
    500: '#ab558f',
    950: '#000000',
  },
}
SCSS
$custom: #ab558f;
$custom-light: #c688b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab558f",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 143
  },
  "hsl": {
    "h": 319.535,
    "s": 33.858,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57269,
    "c": 0.13298,
    "h": 341.2
  },
  "luminance": 0.17138
}

Semantic roles & 50–950 ramp

primary
#AB558F
secondary
#9BC1A7
accent
#CA815E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AB558F

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

Preview Lab → · Contrast checker → · Palette generator →

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