#AB477C#AB477C

#AB477C is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.6% C 0.144 H 350.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB477C
RGBrgb(171, 71, 124)
HSLhsl(328, 41%, 47%)
HSVhsv(328, 58%, 67%)
CMYKcmyk(0%, 58.5%, 27.5%, 32.9%)
CIE-LABlab(45.11, 46.74, -9.62)
CIE-LCHlch(45.11, 47.72, 348.37°)
OKLaboklab(54.56% 0.1415 -0.025)
OKLCHoklch(54.56% 0.144 350)
XYZxyz(22.6868, 14.6218, 20.6924)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB477C #47AB76
analogous
#A847AB #AB477C #AB474A
triadic
#AB477C #7CAB47 #477CAB
tetradic
#AB477C #ABA847 #47AB76 #474AAB
square
#AB477C #ABA847 #47AB76 #474AAB
split-complementary
#AB477C #4AAB47 #47ABA8
monochromatic
#55233D #80355D #AB477C #C26D9A #D498B8

Accessibility & contrast

On white

5.35
#AB477C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB477C
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB477C#FFFFFF#000000##FFFFFF
##AB477C1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53607E
Deuteranopia (green-blind)
#6F717A
Tritanopia (blue-blind)
#B6435C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab477c;
/* rgb */ color: rgb(171, 71, 124);
/* oklch */ color: oklch(54.6% 0.144 350.0);
Tailwind
colors: {
  custom: {
    50: '#c77fa2',
    500: '#ab477c',
    950: '#000000',
  },
}
SCSS
$custom: #ab477c;
$custom-light: #c77fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab477c",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 328.2,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.14367,
    "h": 350
  },
  "luminance": 0.1462
}

Semantic roles & 50–950 ramp

primary
#AB477C
secondary
#8DC0A5
accent
#D19057
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0F
muted
#827C7E

Preview Lab

Preview with #AB477C

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

Preview Lab → · Contrast checker → · Palette generator →

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