#AB4A84#AB4A84

#AB4A84 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.3% C 0.144 H 345.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AB4A84
RGBrgb(171, 74, 132)
HSLhsl(324, 40%, 48%)
HSVhsv(324, 57%, 67%)
CMYKcmyk(0%, 56.7%, 22.8%, 32.9%)
CIE-LABlab(45.94, 46.44, -13.23)
CIE-LCHlch(45.94, 48.28, 344.10°)
OKLaboklab(55.27% 0.1394 -0.0349)
OKLCHoklch(55.27% 0.144 345.9)
XYZxyz(23.4089, 15.2235, 23.5309)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4A84 #4AAB71
analogous
#A14AAB #AB4A84 #AB4A53
triadic
#AB4A84 #84AB4A #4A84AB
tetradic
#AB4A84 #ABA14A #4AAB71 #4A53AB
square
#AB4A84 #ABA14A #4AAB71 #4A53AB
split-complementary
#AB4A84 #53AB4A #4AABA1
monochromatic
#562542 #803863 #AB4A84 #C171A1 #D49BBD

Accessibility & contrast

On white

5.19
#AB4A84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AB4A84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4A84
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4A84#FFFFFF#000000##FFFFFF
##AB4A841.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536286
Deuteranopia (green-blind)
#6E7382
Tritanopia (blue-blind)
#B54961
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4a84;
/* rgb */ color: rgb(171, 74, 132);
/* oklch */ color: oklch(55.3% 0.144 345.9);
Tailwind
colors: {
  custom: {
    50: '#c781a7',
    500: '#ab4a84',
    950: '#000000',
  },
}
SCSS
$custom: #ab4a84;
$custom-light: #c781a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4a84",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 132
  },
  "hsl": {
    "h": 324.124,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55274,
    "c": 0.14369,
    "h": 345.9
  },
  "luminance": 0.15221
}

Semantic roles & 50–950 ramp

primary
#AB4A84
secondary
#90C0A4
accent
#CF8858
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AB4A84

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

Preview Lab → · Contrast checker → · Palette generator →

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