#AB477B#AB477B

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

Color values

HEX#AB477B
RGBrgb(171, 71, 123)
HSLhsl(329, 41%, 47%)
HSVhsv(329, 58%, 67%)
CMYKcmyk(0%, 58.5%, 28.1%, 32.9%)
CIE-LABlab(45.08, 46.61, -9.06)
CIE-LCHlch(45.08, 47.48, 348.99°)
OKLaboklab(54.53% 0.1412 -0.0235)
OKLCHoklch(54.53% 0.143 350.5)
XYZxyz(22.6239, 14.5966, 20.3610)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB477B #47AB77
analogous
#A947AB #AB477B #AB4749
triadic
#AB477B #7BAB47 #477BAB
tetradic
#AB477B #ABA947 #47AB77 #4749AB
square
#AB477B #ABA947 #47AB77 #4749AB
split-complementary
#AB477B #49AB47 #47ABA9
monochromatic
#55233D #80355C #AB477B #C26D99 #D498B7

Accessibility & contrast

On white

5.36
#AB477B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB477B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB477B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB477B#FFFFFF#000000##FFFFFF
##AB477B1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607D
Deuteranopia (green-blind)
#6F7179
Tritanopia (blue-blind)
#B7435B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab477b;
/* rgb */ color: rgb(171, 71, 123);
/* oklch */ color: oklch(54.5% 0.143 350.5);
Tailwind
colors: {
  custom: {
    50: '#c77fa1',
    500: '#ab477b',
    950: '#000000',
  },
}
SCSS
$custom: #ab477b;
$custom-light: #c77fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab477b",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 328.8,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.14312,
    "h": 350.5
  },
  "luminance": 0.14594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB477B

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

Preview Lab → · Contrast checker → · Palette generator →

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