#AA477B#AA477B

#AA477B is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.4% C 0.142 H 350.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AA477B
RGBrgb(170, 71, 123)
HSLhsl(328, 41%, 47%)
HSVhsv(328, 58%, 67%)
CMYKcmyk(0%, 58.2%, 27.6%, 33.3%)
CIE-LABlab(44.92, 46.29, -9.32)
CIE-LCHlch(44.92, 47.22, 348.62°)
OKLaboklab(54.38% 0.1401 -0.0242)
OKLCHoklch(54.38% 0.142 350.2)
XYZxyz(22.4068, 14.4847, 20.3508)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA477B #47AA76
analogous
#A847AA #AA477B #AA4749
triadic
#AA477B #7BAA47 #477BAA
tetradic
#AA477B #AAA847 #47AA76 #4749AA
square
#AA477B #AAA847 #47AA76 #4749AA
split-complementary
#AA477B #49AA47 #47AAA8
monochromatic
#54233D #7F355C #AA477B #C26C99 #D498B7

Accessibility & contrast

On white

5.39
#AA477B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AA477B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA477B
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA477B#FFFFFF#000000##FFFFFF
##AA477B1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7D
Deuteranopia (green-blind)
#6E7179
Tritanopia (blue-blind)
#B5435B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa477b;
/* rgb */ color: rgb(170, 71, 123);
/* oklch */ color: oklch(54.4% 0.142 350.2);
Tailwind
colors: {
  custom: {
    50: '#c67fa1',
    500: '#aa477b',
    950: '#000000',
  },
}
SCSS
$custom: #aa477b;
$custom-light: #c67fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa477b",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 328.485,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5438,
    "c": 0.14219,
    "h": 350.2
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#AA477B
secondary
#8DC0A5
accent
#D19157
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AA477B

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

Preview Lab → · Contrast checker → · Palette generator →

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