#AA4E97#AA4E97

#AA4E97 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.5% C 0.150 H 335.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AA4E97
RGBrgb(170, 78, 151)
HSLhsl(312, 37%, 49%)
HSVhsv(312, 54%, 67%)
CMYKcmyk(0%, 54.1%, 11.2%, 33.3%)
CIE-LABlab(47.28, 47.14, -22.61)
CIE-LCHlch(47.28, 52.28, 334.38°)
OKLaboklab(56.48% 0.1371 -0.0612)
OKLCHoklch(56.48% 0.15 335.9)
XYZxyz(24.8880, 16.2310, 31.0942)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4E97 #4EAA61
analogous
#8F4EAA #AA4E97 #AA4E69
triadic
#AA4E97 #97AA4E #4E97AA
tetradic
#AA4E97 #AA8F4E #4EAA61 #4E69AA
square
#AA4E97 #AA8F4E #4EAA61 #4E69AA
split-complementary
#AA4E97 #69AA4E #4EAA8F
monochromatic
#56284C #803B72 #AA4E97 #C075B0 #D39FC8

Accessibility & contrast

On white

4.95
#AA4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA4E97
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4E97#FFFFFF#000000##FFFFFF
##AA4E971.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6799
Deuteranopia (green-blind)
#697595
Tritanopia (blue-blind)
#B2526C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa4e97;
/* rgb */ color: rgb(170, 78, 151);
/* oklch */ color: oklch(56.5% 0.150 335.9);
Tailwind
colors: {
  custom: {
    50: '#c684b5',
    500: '#aa4e97',
    950: '#000000',
  },
}
SCSS
$custom: #aa4e97;
$custom-light: #c684b5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4e97",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 312.391,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56483,
    "c": 0.15009,
    "h": 335.9
  },
  "luminance": 0.16229
}

Semantic roles & 50–950 ramp

primary
#AA4E97
secondary
#94C09D
accent
#CD725B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AA4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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