#AB477E#AB477E

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

Color values

HEX#AB477E
RGBrgb(171, 71, 126)
HSLhsl(327, 41%, 47%)
HSVhsv(327, 58%, 67%)
CMYKcmyk(0%, 58.5%, 26.3%, 32.9%)
CIE-LABlab(45.18, 47.02, -10.73)
CIE-LCHlch(45.18, 48.23, 347.14°)
OKLaboklab(54.64% 0.1421 -0.0281)
OKLCHoklch(54.64% 0.145 348.8)
XYZxyz(22.8146, 14.6729, 21.3652)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB477E #47AB74
analogous
#A647AB #AB477E #AB474C
triadic
#AB477E #7EAB47 #477EAB
tetradic
#AB477E #ABA647 #47AB74 #474CAB
square
#AB477E #ABA647 #47AB74 #474CAB
split-complementary
#AB477E #4CAB47 #47ABA6
monochromatic
#55233E #80355E #AB477E #C26D9C #D498B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB477E#FFFFFF#000000##FFFFFF
##AB477E1.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)
#536080
Deuteranopia (green-blind)
#6E717C
Tritanopia (blue-blind)
#B6445D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab477e;
/* rgb */ color: rgb(171, 71, 126);
/* oklch */ color: oklch(54.6% 0.145 348.8);
Tailwind
colors: {
  custom: {
    50: '#c77fa3',
    500: '#ab477e',
    950: '#000000',
  },
}
SCSS
$custom: #ab477e;
$custom-light: #c77fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab477e",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 327,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54641,
    "c": 0.1448,
    "h": 348.8
  },
  "luminance": 0.14671
}

Semantic roles & 50–950 ramp

primary
#AB477E
secondary
#8DC0A4
accent
#D18E57
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB477E

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

Preview Lab → · Contrast checker → · Palette generator →

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