#AB4C8A#AB4C8A

#AB4C8A is a mid, vivid pink. Relative luminance 0.157; OKLCH L 55.8% C 0.144 H 342.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AB4C8A
RGBrgb(171, 76, 138)
HSLhsl(321, 38%, 48%)
HSVhsv(321, 56%, 67%)
CMYKcmyk(0%, 55.6%, 19.3%, 32.9%)
CIE-LABlab(46.53, 46.36, -15.95)
CIE-LCHlch(46.53, 49.03, 341.01°)
OKLaboklab(55.79% 0.138 -0.0425)
OKLCHoklch(55.79% 0.144 342.9)
XYZxyz(23.9670, 15.6638, 25.8010)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4C8A #4CAB6D
analogous
#9C4CAB #AB4C8A #AB4C5A
triadic
#AB4C8A #8AAB4C #4C8AAB
tetradic
#AB4C8A #AB9C4C #4CAB6D #4C5AAB
square
#AB4C8A #AB9C4C #4CAB6D #4C5AAB
split-complementary
#AB4C8A #5AAB4C #4CAB9C
monochromatic
#562646 #813968 #AB4C8A #C173A6 #D49EC1

Accessibility & contrast

On white

5.08
#AB4C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AB4C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4C8A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4C8A#FFFFFF#000000##FFFFFF
##AB4C8A1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53648C
Deuteranopia (green-blind)
#6D7488
Tritanopia (blue-blind)
#B54C65
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab4c8a;
/* rgb */ color: rgb(171, 76, 138);
/* oklch */ color: oklch(55.8% 0.144 342.9);
Tailwind
colors: {
  custom: {
    50: '#c682ac',
    500: '#ab4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #ab4c8a;
$custom-light: #c682ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4c8a",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 320.842,
    "s": 38.462,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.14443,
    "h": 342.9
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#AB4C8A
secondary
#92C0A2
accent
#CE8259
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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