#AB4E7E#AB4E7E

#AB4E7E is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.6% C 0.134 H 350.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB4E7E
RGBrgb(171, 78, 126)
HSLhsl(329, 37%, 49%)
HSVhsv(329, 54%, 67%)
CMYKcmyk(0%, 54.4%, 26.3%, 32.9%)
CIE-LABlab(46.47, 43.62, -8.80)
CIE-LCHlch(46.47, 44.49, 348.59°)
OKLaboklab(55.6% 0.1317 -0.0229)
OKLCHoklch(55.6% 0.134 350.1)
XYZxyz(23.2857, 15.6151, 21.5223)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E7E #4EAB7B
analogous
#AA4EAB #AB4E7E #AB4E50
triadic
#AB4E7E #7EAB4E #4E7EAB
tetradic
#AB4E7E #ABAA4E #4EAB7B #4E50AB
square
#AB4E7E #ABAA4E #4EAB7B #4E50AB
split-complementary
#AB4E7E #50AB4E #4EABAA
monochromatic
#572840 #813B5F #AB4E7E #C0769C #D4A0BB

Accessibility & contrast

On white

5.09
#AB4E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AB4E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E7E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E7E#FFFFFF#000000##FFFFFF
##AB4E7E1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596480
Deuteranopia (green-blind)
#72747C
Tritanopia (blue-blind)
#B64B60
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab4e7e;
/* rgb */ color: rgb(171, 78, 126);
/* oklch */ color: oklch(55.6% 0.134 350.1);
Tailwind
colors: {
  custom: {
    50: '#c783a3',
    500: '#ab4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e7e;
$custom-light: #c783a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e7e",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 329.032,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55595,
    "c": 0.13363,
    "h": 350.1
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#AB4E7E
secondary
#94C1AA
accent
#CD925A
background
#FCF8FA
surface
#F8EFF3
border
#D1CACD
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AB4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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