#AB4972#AB4972

#AB4972 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.5% C 0.136 H 356.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB4972
RGBrgb(171, 73, 114)
HSLhsl(335, 40%, 48%)
HSVhsv(335, 57%, 67%)
CMYKcmyk(0%, 57.3%, 33.3%, 32.9%)
CIE-LABlab(45.14, 44.47, -3.48)
CIE-LCHlch(45.14, 44.61, 355.53°)
OKLaboklab(54.47% 0.1353 -0.0086)
OKLCHoklch(54.47% 0.136 356.4)
XYZxyz(22.2155, 14.6401, 17.5722)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4972 #49AB82
analogous
#AB49A3 #AB4972 #AB5149
triadic
#AB4972 #72AB49 #4972AB
tetradic
#AB4972 #A3AB49 #49AB82 #5149AB
square
#AB4972 #A3AB49 #49AB82 #5149AB
split-complementary
#AB4972 #49AB51 #49A3AB
monochromatic
#552439 #803755 #AB4972 #C26F92 #D49AB2

Accessibility & contrast

On white

5.35
#AB4972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AB4972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4972
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4972#FFFFFF#000000##FFFFFF
##AB49721.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586073
Deuteranopia (green-blind)
#727270
Tritanopia (blue-blind)
#B74259
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab4972;
/* rgb */ color: rgb(171, 73, 114);
/* oklch */ color: oklch(54.5% 0.136 356.4);
Tailwind
colors: {
  custom: {
    50: '#c7809a',
    500: '#ab4972',
    950: '#000000',
  },
}
SCSS
$custom: #ab4972;
$custom-light: #c7809a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4972",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 114
  },
  "hsl": {
    "h": 334.898,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54474,
    "c": 0.1356,
    "h": 356.4
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#AB4972
secondary
#8FC0AC
accent
#D09E58
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4972

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

Preview Lab → · Contrast checker → · Palette generator →

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