#AA4E8B#AA4E8B

#AA4E8B is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.0% C 0.141 H 342.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AA4E8B
RGBrgb(170, 78, 139)
HSLhsl(320, 37%, 49%)
HSVhsv(320, 54%, 67%)
CMYKcmyk(0%, 54.1%, 18.2%, 33.3%)
CIE-LABlab(46.79, 45.21, -16.17)
CIE-LCHlch(46.79, 48.02, 340.32°)
OKLaboklab(55.96% 0.1343 -0.0431)
OKLCHoklch(55.96% 0.141 342.2)
XYZxyz(23.9626, 15.8608, 26.2205)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4E8B #4EAA6D
analogous
#9B4EAA #AA4E8B #AA4E5D
triadic
#AA4E8B #8BAA4E #4E8BAA
tetradic
#AA4E8B #AA9B4E #4EAA6D #4E5DAA
square
#AA4E8B #AA9B4E #4EAA6D #4E5DAA
split-complementary
#AA4E8B #5DAA4E #4EAA9B
monochromatic
#562846 #803B69 #AA4E8B #C075A7 #D39FC2

Accessibility & contrast

On white

5.03
#AA4E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AA4E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4E8B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4E8B#FFFFFF#000000##FFFFFF
##AA4E8B1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54668D
Deuteranopia (green-blind)
#6D7489
Tritanopia (blue-blind)
#B34F66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa4e8b;
/* rgb */ color: rgb(170, 78, 139);
/* oklch */ color: oklch(56.0% 0.141 342.2);
Tailwind
colors: {
  custom: {
    50: '#c683ad',
    500: '#aa4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #aa4e8b;
$custom-light: #c683ad;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4e8b",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 320.217,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55964,
    "c": 0.141,
    "h": 342.2
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#AA4E8B
secondary
#94C0A3
accent
#CD815B
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AA4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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