#AB4D8A#AB4D8A

#AB4D8A is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.9% C 0.143 H 343.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AB4D8A
RGBrgb(171, 77, 138)
HSLhsl(321, 38%, 49%)
HSVhsv(321, 55%, 67%)
CMYKcmyk(0%, 55%, 19.3%, 32.9%)
CIE-LABlab(46.71, 45.87, -15.67)
CIE-LCHlch(46.71, 48.47, 341.14°)
OKLaboklab(55.92% 0.1366 -0.0417)
OKLCHoklch(55.92% 0.143 343)
XYZxyz(24.0364, 15.8026, 25.8241)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4D8A #4DAB6E
analogous
#9D4DAB #AB4D8A #AB4D5B
triadic
#AB4D8A #8AAB4D #4D8AAB
tetradic
#AB4D8A #AB9D4D #4DAB6E #4D5BAB
square
#AB4D8A #AB9D4D #4DAB6E #4D5BAB
split-complementary
#AB4D8A #5BAB4D #4DAB9D
monochromatic
#572746 #813A68 #AB4D8A #C175A6 #D49FC1

Accessibility & contrast

On white

5.05
#AB4D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AB4D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4D8A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4D8A#FFFFFF#000000##FFFFFF
##AB4D8A1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54658C
Deuteranopia (green-blind)
#6E7488
Tritanopia (blue-blind)
#B54D65
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab4d8a;
/* rgb */ color: rgb(171, 77, 138);
/* oklch */ color: oklch(55.9% 0.143 343.0);
Tailwind
colors: {
  custom: {
    50: '#c683ac',
    500: '#ab4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #ab4d8a;
$custom-light: #c683ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4d8a",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 321.064,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55924,
    "c": 0.1428,
    "h": 343
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

primary
#AB4D8A
secondary
#93C0A3
accent
#CE835A
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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