#AB4C81#AB4C81

#AB4C81 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.4% C 0.139 H 348.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AB4C81
RGBrgb(171, 76, 129)
HSLhsl(327, 38%, 48%)
HSVhsv(327, 56%, 67%)
CMYKcmyk(0%, 55.6%, 24.6%, 32.9%)
CIE-LABlab(46.20, 45.03, -11.03)
CIE-LCHlch(46.20, 46.36, 346.24°)
OKLaboklab(55.43% 0.1356 -0.0289)
OKLCHoklch(55.43% 0.139 348)
XYZxyz(23.3422, 15.4139, 22.5104)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4C81 #4CAB76
analogous
#A54CAB #AB4C81 #AB4C51
triadic
#AB4C81 #81AB4C #4C81AB
tetradic
#AB4C81 #ABA54C #4CAB76 #4C51AB
square
#AB4C81 #ABA54C #4CAB76 #4C51AB
split-complementary
#AB4C81 #51AB4C #4CABA5
monochromatic
#562641 #813961 #AB4C81 #C1739F #D49EBC

Accessibility & contrast

On white

5.14
#AB4C81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AB4C81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4C81
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4C81#FFFFFF#000000##FFFFFF
##AB4C811.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566383
Deuteranopia (green-blind)
#70747F
Tritanopia (blue-blind)
#B64A61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4c81;
/* rgb */ color: rgb(171, 76, 129);
/* oklch */ color: oklch(55.4% 0.139 348.0);
Tailwind
colors: {
  custom: {
    50: '#c782a5',
    500: '#ab4c81',
    950: '#000000',
  },
}
SCSS
$custom: #ab4c81;
$custom-light: #c782a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4c81",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 129
  },
  "hsl": {
    "h": 326.526,
    "s": 38.462,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55429,
    "c": 0.13862,
    "h": 348
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#AB4C81
secondary
#92C0A7
accent
#CE8D59
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AB4C81

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

Preview Lab → · Contrast checker → · Palette generator →

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