#AB4773#AB4773

#AB4773 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.2% C 0.139 H 355.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB4773
RGBrgb(171, 71, 115)
HSLhsl(334, 41%, 47%)
HSVhsv(334, 58%, 67%)
CMYKcmyk(0%, 58.5%, 32.7%, 32.9%)
CIE-LABlab(44.81, 45.56, -4.58)
CIE-LCHlch(44.81, 45.79, 354.26°)
OKLaboklab(54.24% 0.1387 -0.0115)
OKLCHoklch(54.24% 0.139 355.3)
XYZxyz(22.1434, 14.4044, 17.8305)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4773 #47AB7F
analogous
#AB47A5 #AB4773 #AB4D47
triadic
#AB4773 #73AB47 #4773AB
tetradic
#AB4773 #A5AB47 #47AB7F #4D47AB
square
#AB4773 #A5AB47 #47AB7F #4D47AB
split-complementary
#AB4773 #47AB4D #47A5AB
monochromatic
#552339 #803556 #AB4773 #C26D92 #D498B3

Accessibility & contrast

On white

5.41
#AB4773 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AB4773 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4773
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4773#FFFFFF#000000##FFFFFF
##AB47731.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565F74
Deuteranopia (green-blind)
#717171
Tritanopia (blue-blind)
#B74058
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab4773;
/* rgb */ color: rgb(171, 71, 115);
/* oklch */ color: oklch(54.2% 0.139 355.3);
Tailwind
colors: {
  custom: {
    50: '#c77f9b',
    500: '#ab4773',
    950: '#000000',
  },
}
SCSS
$custom: #ab4773;
$custom-light: #c77f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4773",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 115
  },
  "hsl": {
    "h": 333.6,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54238,
    "c": 0.13913,
    "h": 355.3
  },
  "luminance": 0.14402
}

Semantic roles & 50–950 ramp

primary
#AB4773
secondary
#8DC0AA
accent
#D19B57
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4773

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

Preview Lab → · Contrast checker → · Palette generator →

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