#AB4579#AB4579

#AB4579 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.2% C 0.145 H 351.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB4579
RGBrgb(171, 69, 121)
HSLhsl(329, 43%, 47%)
HSVhsv(329, 60%, 67%)
CMYKcmyk(0%, 59.6%, 29.2%, 32.9%)
CIE-LABlab(44.66, 47.28, -8.48)
CIE-LCHlch(44.66, 48.04, 349.84°)
OKLaboklab(54.19% 0.1435 -0.0219)
OKLCHoklch(54.19% 0.145 351.3)
XYZxyz(22.3749, 14.2969, 19.6667)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4579 #45AB77
analogous
#AA45AB #AB4579 #AB4546
triadic
#AB4579 #79AB45 #4579AB
tetradic
#AB4579 #ABAA45 #45AB77 #4546AB
square
#AB4579 #ABAA45 #45AB77 #4546AB
split-complementary
#AB4579 #46AB45 #45ABAA
monochromatic
#54223B #7F335A #AB4579 #C36A97 #D596B6

Accessibility & contrast

On white

5.44
#AB4579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AB4579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4579
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4579#FFFFFF#000000##FFFFFF
##AB45791.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E7B
Deuteranopia (green-blind)
#6E7077
Tritanopia (blue-blind)
#B7405A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab4579;
/* rgb */ color: rgb(171, 69, 121);
/* oklch */ color: oklch(54.2% 0.145 351.3);
Tailwind
colors: {
  custom: {
    50: '#c77e9f',
    500: '#ab4579',
    950: '#000000',
  },
}
SCSS
$custom: #ab4579;
$custom-light: #c77e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4579",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 329.412,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54191,
    "c": 0.14513,
    "h": 351.3
  },
  "luminance": 0.14295
}

Semantic roles & 50–950 ramp

primary
#AB4579
secondary
#8BC0A5
accent
#D29356
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4579

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

Preview Lab → · Contrast checker → · Palette generator →

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