#AB4E78#AB4E78

#AB4E78 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.4% C 0.130 H 353.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AB4E78
RGBrgb(171, 78, 120)
HSLhsl(333, 37%, 49%)
HSVhsv(333, 54%, 67%)
CMYKcmyk(0%, 54.4%, 29.8%, 32.9%)
CIE-LABlab(46.26, 42.79, -5.47)
CIE-LCHlch(46.26, 43.14, 352.72°)
OKLaboklab(55.38% 0.1297 -0.0139)
OKLCHoklch(55.38% 0.13 353.9)
XYZxyz(22.9101, 15.4649, 19.5441)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E78 #4EAB81
analogous
#AB4EA7 #AB4E78 #AB534E
triadic
#AB4E78 #78AB4E #4E78AB
tetradic
#AB4E78 #A7AB4E #4EAB81 #534EAB
square
#AB4E78 #A7AB4E #4EAB81 #534EAB
split-complementary
#AB4E78 #4EAB53 #4EA7AB
monochromatic
#57283D #813B5B #AB4E78 #C07697 #D4A0B7

Accessibility & contrast

On white

5.13
#AB4E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AB4E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E78
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E78#FFFFFF#000000##FFFFFF
##AB4E781.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6379
Deuteranopia (green-blind)
#737476
Tritanopia (blue-blind)
#B7495E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab4e78;
/* rgb */ color: rgb(171, 78, 120);
/* oklch */ color: oklch(55.4% 0.130 353.9);
Tailwind
colors: {
  custom: {
    50: '#c7839f',
    500: '#ab4e78',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e78;
$custom-light: #c7839f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e78",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 332.903,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55379,
    "c": 0.13048,
    "h": 353.9
  },
  "luminance": 0.15463
}

Semantic roles & 50–950 ramp

primary
#AB4E78
secondary
#94C1AD
accent
#CD995A
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AB4E78

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

Preview Lab → · Contrast checker → · Palette generator →

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