#AB4879#AB4879

#AB4879 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.6% C 0.140 H 351.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB4879
RGBrgb(171, 72, 121)
HSLhsl(330, 41%, 48%)
HSVhsv(330, 58%, 67%)
CMYKcmyk(0%, 57.9%, 29.2%, 32.9%)
CIE-LABlab(45.19, 45.86, -7.68)
CIE-LCHlch(45.19, 46.50, 350.49°)
OKLaboklab(54.59% 0.1391 -0.0198)
OKLCHoklch(54.59% 0.14 351.9)
XYZxyz(22.5641, 14.6753, 19.7297)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4879 #48AB7A
analogous
#AB48AB #AB4879 #AB4848
triadic
#AB4879 #79AB48 #4879AB
tetradic
#AB4879 #ABAB48 #48AB7A #4848AB
square
#AB4879 #ABAB48 #48AB7A #4848AB
split-complementary
#AB4879 #48AB48 #48ABAB
monochromatic
#55243C #80365B #AB4879 #C26E98 #D499B6

Accessibility & contrast

On white

5.34
#AB4879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AB4879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4879
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4879#FFFFFF#000000##FFFFFF
##AB48791.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607B
Deuteranopia (green-blind)
#707277
Tritanopia (blue-blind)
#B7435B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab4879;
/* rgb */ color: rgb(171, 72, 121);
/* oklch */ color: oklch(54.6% 0.140 351.9);
Tailwind
colors: {
  custom: {
    50: '#c7809f',
    500: '#ab4879',
    950: '#000000',
  },
}
SCSS
$custom: #ab4879;
$custom-light: #c7809f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4879",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 330.303,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54586,
    "c": 0.14049,
    "h": 351.9
  },
  "luminance": 0.14673
}

Semantic roles & 50–950 ramp

primary
#AB4879
secondary
#8EC0A8
accent
#D19557
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4879

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

Preview Lab → · Contrast checker → · Palette generator →

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