#AB5572#AB5572

#AB5572 is a mid, moderate pink. Relative luminance 0.164; OKLCH L 56.2% C 0.117 H 0.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB5572
RGBrgb(171, 85, 114)
HSLhsl(340, 34%, 50%)
HSVhsv(340, 50%, 67%)
CMYKcmyk(0%, 50.3%, 33.3%, 32.9%)
CIE-LABlab(47.46, 38.42, -0.07)
CIE-LCHlch(47.46, 38.42, 359.89°)
OKLaboklab(56.21% 0.1167 0.0003)
OKLCHoklch(56.21% 0.117 0.2)
XYZxyz(23.0814, 16.3719, 17.8608)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5572 #55AB8E
analogous
#AB559D #AB5572 #AB6355
triadic
#AB5572 #72AB55 #5572AB
tetradic
#AB5572 #9DAB55 #55AB8E #6355AB
square
#AB5572 #9DAB55 #55AB8E #6355AB
split-complementary
#AB5572 #55AB63 #559DAB
monochromatic
#592C3B #824057 #AB5572 #BF7E94 #D3A7B6

Accessibility & contrast

On white

4.91
#AB5572 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AB5572 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5572
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5572#FFFFFF#000000##FFFFFF
##AB55721.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626773
Deuteranopia (green-blind)
#787770
Tritanopia (blue-blind)
#B74F60
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab5572;
/* rgb */ color: rgb(171, 85, 114);
/* oklch */ color: oklch(56.2% 0.117 0.2);
Tailwind
colors: {
  custom: {
    50: '#c7879a',
    500: '#ab5572',
    950: '#000000',
  },
}
SCSS
$custom: #ab5572;
$custom-light: #c7879a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5572",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 114
  },
  "hsl": {
    "h": 339.767,
    "s": 33.858,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56214,
    "c": 0.11665,
    "h": 0.2
  },
  "luminance": 0.1637
}

Semantic roles & 50–950 ramp

primary
#AB5572
secondary
#9BC1B4
accent
#CAA55E
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AB5572

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

Preview Lab → · Contrast checker → · Palette generator →

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