#AB4E71#AB4E71

#AB4E71 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.1% C 0.127 H 358.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB4E71
RGBrgb(171, 78, 113)
HSLhsl(337, 37%, 49%)
HSVhsv(337, 54%, 67%)
CMYKcmyk(0%, 54.4%, 33.9%, 32.9%)
CIE-LABlab(46.04, 41.88, -1.54)
CIE-LCHlch(46.04, 41.90, 357.90°)
OKLaboklab(55.14% 0.1274 -0.0035)
OKLCHoklch(55.14% 0.127 358.4)
XYZxyz(22.5007, 15.3012, 17.3880)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E71 #4EAB88
analogous
#AB4EA0 #AB4E71 #AB5A4E
triadic
#AB4E71 #71AB4E #4E71AB
tetradic
#AB4E71 #A0AB4E #4EAB88 #5A4EAB
square
#AB4E71 #A0AB4E #4EAB88 #5A4EAB
split-complementary
#AB4E71 #4EAB5A #4EA0AB
monochromatic
#572839 #813B55 #AB4E71 #C07692 #D4A0B3

Accessibility & contrast

On white

5.17
#AB4E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AB4E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E71
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E71#FFFFFF#000000##FFFFFF
##AB4E711.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6272
Deuteranopia (green-blind)
#75746F
Tritanopia (blue-blind)
#B7475B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4e71;
/* rgb */ color: rgb(171, 78, 113);
/* oklch */ color: oklch(55.1% 0.127 358.4);
Tailwind
colors: {
  custom: {
    50: '#c78399',
    500: '#ab4e71',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e71;
$custom-light: #c78399;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e71",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 337.419,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55141,
    "c": 0.1274,
    "h": 358.4
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#AB4E71
secondary
#94C1B0
accent
#CDA25A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AB4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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