#AB477F#AB477F

#AB477F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.7% C 0.145 H 348.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB477F
RGBrgb(171, 71, 127)
HSLhsl(326, 41%, 47%)
HSVhsv(326, 58%, 67%)
CMYKcmyk(0%, 58.5%, 25.7%, 32.9%)
CIE-LABlab(45.22, 47.16, -11.29)
CIE-LCHlch(45.22, 48.49, 346.54°)
OKLaboklab(54.68% 0.1423 -0.0296)
OKLCHoklch(54.68% 0.145 348.3)
XYZxyz(22.8794, 14.6988, 21.7068)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB477F #47AB73
analogous
#A547AB #AB477F #AB474D
triadic
#AB477F #7FAB47 #477FAB
tetradic
#AB477F #ABA547 #47AB73 #474DAB
square
#AB477F #ABA547 #47AB73 #474DAB
split-complementary
#AB477F #4DAB47 #47ABA5
monochromatic
#55233F #80355F #AB477F #C26D9D #D498BA

Accessibility & contrast

On white

5.33
#AB477F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB477F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB477F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB477F#FFFFFF#000000##FFFFFF
##AB477F1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526081
Deuteranopia (green-blind)
#6E717D
Tritanopia (blue-blind)
#B6445D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab477f;
/* rgb */ color: rgb(171, 71, 127);
/* oklch */ color: oklch(54.7% 0.145 348.3);
Tailwind
colors: {
  custom: {
    50: '#c77fa4',
    500: '#ab477f',
    950: '#000000',
  },
}
SCSS
$custom: #ab477f;
$custom-light: #c77fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab477f",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 326.4,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.14538,
    "h": 348.3
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#AB477F
secondary
#8DC0A4
accent
#D18D57
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB477F

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

Preview Lab → · Contrast checker → · Palette generator →

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