#AB558D#AB558D

#AB558D is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.2% C 0.132 H 342.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB558D
RGBrgb(171, 85, 141)
HSLhsl(321, 34%, 50%)
HSVhsv(321, 50%, 67%)
CMYKcmyk(0%, 50.3%, 17.5%, 32.9%)
CIE-LABlab(48.36, 42.31, -14.97)
CIE-LCHlch(48.36, 44.88, 340.52°)
OKLaboklab(57.19% 0.1253 -0.0398)
OKLCHoklch(57.19% 0.132 342.4)
XYZxyz(24.8512, 17.0799, 27.1820)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB558D #55AB73
analogous
#9E55AB #AB558D #AB5562
triadic
#AB558D #8DAB55 #558DAB
tetradic
#AB558D #AB9E55 #55AB73 #5562AB
square
#AB558D #AB9E55 #55AB73 #5562AB
split-complementary
#AB558D #62AB55 #55AB9E
monochromatic
#592C4A #82406B #AB558D #BF7EA8 #D3A7C4

Accessibility & contrast

On white

4.76
#AB558D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AB558D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB558D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB558D#FFFFFF#000000##FFFFFF
##AB558D1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A8F
Deuteranopia (green-blind)
#72788B
Tritanopia (blue-blind)
#B4556B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab558d;
/* rgb */ color: rgb(171, 85, 141);
/* oklch */ color: oklch(57.2% 0.132 342.4);
Tailwind
colors: {
  custom: {
    50: '#c688ae',
    500: '#ab558d',
    950: '#000000',
  },
}
SCSS
$custom: #ab558d;
$custom-light: #c688ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab558d",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 141
  },
  "hsl": {
    "h": 320.93,
    "s": 33.858,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57188,
    "c": 0.13152,
    "h": 342.4
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#AB558D
secondary
#9BC1A8
accent
#CA845E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AB558D

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

Preview Lab → · Contrast checker → · Palette generator →

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