#AB4774#AB4774

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

Color values

HEX#AB4774
RGBrgb(171, 71, 116)
HSLhsl(333, 41%, 47%)
HSVhsv(333, 58%, 67%)
CMYKcmyk(0%, 58.5%, 32.2%, 32.9%)
CIE-LABlab(44.84, 45.69, -5.14)
CIE-LCHlch(44.84, 45.98, 353.58°)
OKLaboklab(54.27% 0.139 -0.013)
OKLCHoklch(54.27% 0.14 354.7)
XYZxyz(22.2013, 14.4276, 18.1352)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4774 #47AB7E
analogous
#AB47A6 #AB4774 #AB4C47
triadic
#AB4774 #74AB47 #4774AB
tetradic
#AB4774 #A6AB47 #47AB7E #4C47AB
square
#AB4774 #A6AB47 #47AB7E #4C47AB
split-complementary
#AB4774 #47AB4C #47A6AB
monochromatic
#552339 #803557 #AB4774 #C26D93 #D498B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4774#FFFFFF#000000##FFFFFF
##AB47741.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)
#565F75
Deuteranopia (green-blind)
#717172
Tritanopia (blue-blind)
#B74158
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab4774;
/* rgb */ color: rgb(171, 71, 116);
/* oklch */ color: oklch(54.3% 0.140 354.7);
Tailwind
colors: {
  custom: {
    50: '#c77f9c',
    500: '#ab4774',
    950: '#000000',
  },
}
SCSS
$custom: #ab4774;
$custom-light: #c77f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4774",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 116
  },
  "hsl": {
    "h": 333,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.13959,
    "h": 354.7
  },
  "luminance": 0.14425
}

Semantic roles & 50–950 ramp

primary
#AB4774
secondary
#8DC0A9
accent
#D19A57
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4774

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

Preview Lab → · Contrast checker → · Palette generator →

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