#AA5478#AA5478

#AA5478 is a mid, moderate pink. Relative luminance 0.162; OKLCH L 56.1% C 0.120 H 355.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AA5478
RGBrgb(170, 84, 120)
HSLhsl(335, 34%, 50%)
HSVhsv(335, 51%, 67%)
CMYKcmyk(0%, 50.6%, 29.4%, 33.3%)
CIE-LABlab(47.29, 39.38, -3.96)
CIE-LCHlch(47.29, 39.58, 354.26°)
OKLaboklab(56.12% 0.1193 -0.0099)
OKLCHoklch(56.12% 0.12 355.2)
XYZxyz(23.1389, 16.2448, 19.6826)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5478 #54AA86
analogous
#AA54A3 #AA5478 #AA5B54
triadic
#AA5478 #78AA54 #5478AA
tetradic
#AA5478 #A3AA54 #54AA86 #5B54AA
square
#AA5478 #A3AA54 #54AA86 #5B54AA
split-complementary
#AA5478 #54AA5B #54A3AA
monochromatic
#582C3E #81405B #AA5478 #BF7D98 #D3A6B9

Accessibility & contrast

On white

4.94
#AA5478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AA5478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA5478
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5478#FFFFFF#000000##FFFFFF
##AA54781.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606779
Deuteranopia (green-blind)
#767676
Tritanopia (blue-blind)
#B54F61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa5478;
/* rgb */ color: rgb(170, 84, 120);
/* oklch */ color: oklch(56.1% 0.120 355.2);
Tailwind
colors: {
  custom: {
    50: '#c6879e',
    500: '#aa5478',
    950: '#000000',
  },
}
SCSS
$custom: #aa5478;
$custom-light: #c6879e;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5478",
  "rgb": {
    "r": 170,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 334.884,
    "s": 33.858,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56121,
    "c": 0.11967,
    "h": 355.2
  },
  "luminance": 0.16243
}

Semantic roles & 50–950 ramp

primary
#AA5478
secondary
#99C0B0
accent
#CA9D5E
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AA5478

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

Preview Lab → · Contrast checker → · Palette generator →

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