#AB4D71#AB4D71

#AB4D71 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.0% C 0.129 H 358.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AB4D71
RGBrgb(171, 77, 113)
HSLhsl(337, 38%, 49%)
HSVhsv(337, 55%, 67%)
CMYKcmyk(0%, 55%, 33.9%, 32.9%)
CIE-LABlab(45.85, 42.38, -1.82)
CIE-LCHlch(45.85, 42.42, 357.55°)
OKLaboklab(55% 0.1289 -0.0042)
OKLCHoklch(55% 0.129 358.1)
XYZxyz(22.4302, 15.1601, 17.3645)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4D71 #4DAB87
analogous
#AB4DA0 #AB4D71 #AB584D
triadic
#AB4D71 #71AB4D #4D71AB
tetradic
#AB4D71 #A0AB4D #4DAB87 #584DAB
square
#AB4D71 #A0AB4D #4DAB87 #584DAB
split-complementary
#AB4D71 #4DAB58 #4DA0AB
monochromatic
#572739 #813A55 #AB4D71 #C17592 #D49FB3

Accessibility & contrast

On white

5.21
#AB4D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AB4D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4D71
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4D71#FFFFFF#000000##FFFFFF
##AB4D711.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6272
Deuteranopia (green-blind)
#74736F
Tritanopia (blue-blind)
#B7465A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4d71;
/* rgb */ color: rgb(171, 77, 113);
/* oklch */ color: oklch(55.0% 0.129 358.1);
Tailwind
colors: {
  custom: {
    50: '#c78299',
    500: '#ab4d71',
    950: '#000000',
  },
}
SCSS
$custom: #ab4d71;
$custom-light: #c78299;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4d71",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 113
  },
  "hsl": {
    "h": 337.021,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54998,
    "c": 0.12897,
    "h": 358.1
  },
  "luminance": 0.15158
}

Semantic roles & 50–950 ramp

primary
#AB4D71
secondary
#93C0AF
accent
#CEA15A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AB4D71

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

Preview Lab → · Contrast checker → · Palette generator →

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