#AB4B8A#AB4B8A

#AB4B8A is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.7% C 0.146 H 342.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AB4B8A
RGBrgb(171, 75, 138)
HSLhsl(321, 39%, 48%)
HSVhsv(321, 56%, 67%)
CMYKcmyk(0%, 56.1%, 19.3%, 32.9%)
CIE-LABlab(46.35, 46.84, -16.23)
CIE-LCHlch(46.35, 49.58, 340.89°)
OKLaboklab(55.65% 0.1395 -0.0432)
OKLCHoklch(55.65% 0.146 342.8)
XYZxyz(23.8986, 15.5271, 25.7782)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4B8A #4BAB6C
analogous
#9C4BAB #AB4B8A #AB4B5A
triadic
#AB4B8A #8AAB4B #4B8AAB
tetradic
#AB4B8A #AB9C4B #4BAB6C #4B5AAB
square
#AB4B8A #AB9C4B #4BAB6C #4B5AAB
split-complementary
#AB4B8A #5AAB4B #4BAB9C
monochromatic
#562645 #803868 #AB4B8A #C172A6 #D49DC1

Accessibility & contrast

On white

5.12
#AB4B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AB4B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4B8A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4B8A#FFFFFF#000000##FFFFFF
##AB4B8A1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab4b8a;
/* rgb */ color: rgb(171, 75, 138);
/* oklch */ color: oklch(55.7% 0.146 342.8);
Tailwind
colors: {
  custom: {
    50: '#c782ac',
    500: '#ab4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #ab4b8a;
$custom-light: #c782ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4b8a",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 320.625,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55652,
    "c": 0.14605,
    "h": 342.8
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#AB4B8A
secondary
#91C0A2
accent
#CF8159
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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