#AB4478#AB4478

#AB4478 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.0% C 0.146 H 351.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AB4478
RGBrgb(171, 68, 120)
HSLhsl(330, 43%, 47%)
HSVhsv(330, 60%, 67%)
CMYKcmyk(0%, 60.2%, 29.8%, 32.9%)
CIE-LABlab(44.45, 47.62, -8.18)
CIE-LCHlch(44.45, 48.31, 350.26°)
OKLaboklab(54.03% 0.1446 -0.0211)
OKLCHoklch(54.03% 0.146 351.7)
XYZxyz(22.2529, 14.1505, 19.3250)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4478 #44AB77
analogous
#AB44AB #AB4478 #AB4445
triadic
#AB4478 #78AB44 #4478AB
tetradic
#AB4478 #ABAB44 #44AB77 #4445AB
square
#AB4478 #ABAB44 #44AB77 #4445AB
split-complementary
#AB4478 #45AB44 #44ABAB
monochromatic
#53213B #7F3359 #AB4478 #C36997 #D595B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4478#FFFFFF#000000##FFFFFF
##AB44781.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)
#525E7A
Deuteranopia (green-blind)
#6E7076
Tritanopia (blue-blind)
#B73F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4478;
/* rgb */ color: rgb(171, 68, 120);
/* oklch */ color: oklch(54.0% 0.146 351.7);
Tailwind
colors: {
  custom: {
    50: '#c77d9f',
    500: '#ab4478',
    950: '#000000',
  },
}
SCSS
$custom: #ab4478;
$custom-light: #c77d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4478",
  "rgb": {
    "r": 171,
    "g": 68,
    "b": 120
  },
  "hsl": {
    "h": 329.709,
    "s": 43.096,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54026,
    "c": 0.14613,
    "h": 351.7
  },
  "luminance": 0.14148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4478

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

Preview Lab → · Contrast checker → · Palette generator →

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