#AA5178#AA5178

#AA5178 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.7% C 0.125 H 354.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AA5178
RGBrgb(170, 81, 120)
HSLhsl(334, 35%, 49%)
HSVhsv(334, 52%, 67%)
CMYKcmyk(0%, 52.4%, 29.4%, 33.3%)
CIE-LABlab(46.70, 40.93, -4.84)
CIE-LCHlch(46.70, 41.22, 353.25°)
OKLaboklab(55.67% 0.124 -0.0123)
OKLCHoklch(55.67% 0.125 354.4)
XYZxyz(22.9111, 15.7890, 19.6066)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5178 #51AA83
analogous
#AA51A5 #AA5178 #AA5751
triadic
#AA5178 #78AA51 #5178AA
tetradic
#AA5178 #A5AA51 #51AA83 #5751AA
square
#AA5178 #A5AA51 #51AA83 #5751AA
split-complementary
#AA5178 #51AA57 #51A5AA
monochromatic
#572A3D #813D5B #AA5178 #BF7998 #D3A2B8

Accessibility & contrast

On white

5.05
#AA5178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AA5178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA5178
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5178#FFFFFF#000000##FFFFFF
##AA51781.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6579
Deuteranopia (green-blind)
#747576
Tritanopia (blue-blind)
#B54C60
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa5178;
/* rgb */ color: rgb(170, 81, 120);
/* oklch */ color: oklch(55.7% 0.125 354.4);
Tailwind
colors: {
  custom: {
    50: '#c6859e',
    500: '#aa5178',
    950: '#000000',
  },
}
SCSS
$custom: #aa5178;
$custom-light: #c6859e;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5178",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 333.708,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55672,
    "c": 0.12459,
    "h": 354.4
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#AA5178
secondary
#97C0AE
accent
#CB9B5C
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AA5178

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

Preview Lab → · Contrast checker → · Palette generator →

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