#AB477D#AB477D

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

Color values

HEX#AB477D
RGBrgb(171, 71, 125)
HSLhsl(328, 41%, 47%)
HSVhsv(328, 58%, 67%)
CMYKcmyk(0%, 58.5%, 26.9%, 32.9%)
CIE-LABlab(45.15, 46.88, -10.18)
CIE-LCHlch(45.15, 47.97, 347.75°)
OKLaboklab(54.6% 0.1418 -0.0266)
OKLCHoklch(54.6% 0.144 349.4)
XYZxyz(22.7504, 14.6472, 21.0271)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB477D #47AB75
analogous
#A747AB #AB477D #AB474B
triadic
#AB477D #7DAB47 #477DAB
tetradic
#AB477D #ABA747 #47AB75 #474BAB
square
#AB477D #ABA747 #47AB75 #474BAB
split-complementary
#AB477D #4BAB47 #47ABA7
monochromatic
#55233E #80355D #AB477D #C26D9B #D498B9

Accessibility & contrast

On white

5.34
#AB477D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AB477D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB477D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB477D#FFFFFF#000000##FFFFFF
##AB477D1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53607F
Deuteranopia (green-blind)
#6E717B
Tritanopia (blue-blind)
#B6445C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab477d;
/* rgb */ color: rgb(171, 71, 125);
/* oklch */ color: oklch(54.6% 0.144 349.4);
Tailwind
colors: {
  custom: {
    50: '#c77fa2',
    500: '#ab477d',
    950: '#000000',
  },
}
SCSS
$custom: #ab477d;
$custom-light: #c77fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab477d",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 327.6,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54602,
    "c": 0.14423,
    "h": 349.4
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#AB477D
secondary
#8DC0A5
accent
#D18F57
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB477D

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

Preview Lab → · Contrast checker → · Palette generator →

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