#AB5571#AB5571

#AB5571 is a mid, moderate pink. Relative luminance 0.163; OKLCH L 56.2% C 0.116 H 0.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB5571
RGBrgb(171, 85, 113)
HSLhsl(340, 34%, 50%)
HSVhsv(340, 50%, 67%)
CMYKcmyk(0%, 50.3%, 33.9%, 32.9%)
CIE-LABlab(47.43, 38.29, 0.49)
CIE-LCHlch(47.43, 38.29, 0.74°)
OKLaboklab(56.18% 0.1163 0.0018)
OKLCHoklch(56.18% 0.116 0.9)
XYZxyz(23.0248, 16.3493, 17.5627)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5571 #55AB8F
analogous
#AB559C #AB5571 #AB6455
triadic
#AB5571 #71AB55 #5571AB
tetradic
#AB5571 #9CAB55 #55AB8F #6455AB
square
#AB5571 #9CAB55 #55AB8F #6455AB
split-complementary
#AB5571 #55AB64 #559CAB
monochromatic
#592C3B #824056 #AB5571 #BF7E93 #D3A7B5

Accessibility & contrast

On white

4.92
#AB5571 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB5571
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5571#FFFFFF#000000##FFFFFF
##AB55711.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636772
Deuteranopia (green-blind)
#79776F
Tritanopia (blue-blind)
#B74E5F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab5571;
/* rgb */ color: rgb(171, 85, 113);
/* oklch */ color: oklch(56.2% 0.116 0.9);
Tailwind
colors: {
  custom: {
    50: '#c78799',
    500: '#ab5571',
    950: '#000000',
  },
}
SCSS
$custom: #ab5571;
$custom-light: #c78799;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5571",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 113
  },
  "hsl": {
    "h": 340.465,
    "s": 33.858,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56183,
    "c": 0.1163,
    "h": 0.9
  },
  "luminance": 0.16347
}

Semantic roles & 50–950 ramp

primary
#AB5571
secondary
#9BC1B5
accent
#CAA75E
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AB5571

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

Preview Lab → · Contrast checker → · Palette generator →

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