#AB4479#AB4479

#AB4479 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.1% C 0.147 H 351.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AB4479
RGBrgb(171, 68, 121)
HSLhsl(329, 43%, 47%)
HSVhsv(329, 60%, 67%)
CMYKcmyk(0%, 60.2%, 29.2%, 32.9%)
CIE-LABlab(44.48, 47.75, -8.73)
CIE-LCHlch(44.48, 48.54, 349.63°)
OKLaboklab(54.06% 0.1449 -0.0226)
OKLCHoklch(54.06% 0.147 351.1)
XYZxyz(22.3139, 14.1749, 19.6463)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4479 #44AB76
analogous
#AA44AB #AB4479 #AB4446
triadic
#AB4479 #79AB44 #4479AB
tetradic
#AB4479 #ABAA44 #44AB76 #4446AB
square
#AB4479 #ABAA44 #44AB76 #4446AB
split-complementary
#AB4479 #46AB44 #44ABAA
monochromatic
#53213B #7F335A #AB4479 #C36997 #D595B6

Accessibility & contrast

On white

5.48
#AB4479 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AB4479 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4479
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4479#FFFFFF#000000##FFFFFF
##AB44791.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7B
Deuteranopia (green-blind)
#6E7077
Tritanopia (blue-blind)
#B73F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4479;
/* rgb */ color: rgb(171, 68, 121);
/* oklch */ color: oklch(54.1% 0.147 351.1);
Tailwind
colors: {
  custom: {
    50: '#c77d9f',
    500: '#ab4479',
    950: '#000000',
  },
}
SCSS
$custom: #ab4479;
$custom-light: #c77d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4479",
  "rgb": {
    "r": 171,
    "g": 68,
    "b": 121
  },
  "hsl": {
    "h": 329.126,
    "s": 43.096,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54063,
    "c": 0.14665,
    "h": 351.1
  },
  "luminance": 0.14173
}

Semantic roles & 50–950 ramp

primary
#AB4479
secondary
#8AC0A5
accent
#D39255
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4479

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

Preview Lab → · Contrast checker → · Palette generator →

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