#AB4E72#AB4E72

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

Color values

HEX#AB4E72
RGBrgb(171, 78, 114)
HSLhsl(337, 37%, 49%)
HSVhsv(337, 54%, 67%)
CMYKcmyk(0%, 54.4%, 33.3%, 32.9%)
CIE-LABlab(46.07, 42.00, -2.10)
CIE-LCHlch(46.07, 42.06, 357.14°)
OKLaboklab(55.17% 0.1277 -0.005)
OKLCHoklch(55.17% 0.128 357.8)
XYZxyz(22.5573, 15.3238, 17.6861)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E72 #4EAB87
analogous
#AB4EA1 #AB4E72 #AB594E
triadic
#AB4E72 #72AB4E #4E72AB
tetradic
#AB4E72 #A1AB4E #4EAB87 #594EAB
square
#AB4E72 #A1AB4E #4EAB87 #594EAB
split-complementary
#AB4E72 #4EAB59 #4EA1AB
monochromatic
#57283A #813B56 #AB4E72 #C07693 #D4A0B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4E72#FFFFFF#000000##FFFFFF
##AB4E721.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)
#5C6273
Deuteranopia (green-blind)
#757470
Tritanopia (blue-blind)
#B7475B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4e72;
/* rgb */ color: rgb(171, 78, 114);
/* oklch */ color: oklch(55.2% 0.128 357.8);
Tailwind
colors: {
  custom: {
    50: '#c7839a',
    500: '#ab4e72',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e72;
$custom-light: #c7839a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e72",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 336.774,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55174,
    "c": 0.1278,
    "h": 357.8
  },
  "luminance": 0.15322
}

Semantic roles & 50–950 ramp

primary
#AB4E72
secondary
#94C1AF
accent
#CDA15A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AB4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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