#AB477A#AB477A

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

Color values

HEX#AB477A
RGBrgb(171, 71, 122)
HSLhsl(329, 41%, 47%)
HSVhsv(329, 58%, 67%)
CMYKcmyk(0%, 58.5%, 28.7%, 32.9%)
CIE-LABlab(45.04, 46.47, -8.51)
CIE-LCHlch(45.04, 47.25, 349.63°)
OKLaboklab(54.49% 0.1409 -0.022)
OKLCHoklch(54.49% 0.143 351.1)
XYZxyz(22.5616, 14.5717, 20.0330)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB477A #47AB78
analogous
#AA47AB #AB477A #AB4748
triadic
#AB477A #7AAB47 #477AAB
tetradic
#AB477A #ABAA47 #47AB78 #4748AB
square
#AB477A #ABAA47 #47AB78 #4748AB
split-complementary
#AB477A #48AB47 #47ABAA
monochromatic
#55233C #80355B #AB477A #C26D98 #D498B7

Accessibility & contrast

On white

5.37
#AB477A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB477A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB477A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB477A#FFFFFF#000000##FFFFFF
##AB477A1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545F7C
Deuteranopia (green-blind)
#6F7178
Tritanopia (blue-blind)
#B7435B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab477a;
/* rgb */ color: rgb(171, 71, 122);
/* oklch */ color: oklch(54.5% 0.143 351.1);
Tailwind
colors: {
  custom: {
    50: '#c77fa0',
    500: '#ab477a',
    950: '#000000',
  },
}
SCSS
$custom: #ab477a;
$custom-light: #c77fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab477a",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 329.4,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5449,
    "c": 0.14258,
    "h": 351.1
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#AB477A
secondary
#8DC0A6
accent
#D19357
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB477A

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

Preview Lab → · Contrast checker → · Palette generator →

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