#AA397A#AA397A

#AA397A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.6% C 0.162 H 348.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AA397A
RGBrgb(170, 57, 122)
HSLhsl(325, 50%, 45%)
HSVhsv(325, 66%, 67%)
CMYKcmyk(0%, 66.5%, 28.2%, 33.3%)
CIE-LABlab(42.58, 52.40, -12.23)
CIE-LCHlch(42.58, 53.81, 346.86°)
OKLaboklab(52.64% 0.1591 -0.0321)
OKLCHoklch(52.64% 0.162 348.6)
XYZxyz(21.5545, 12.8797, 19.7595)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA397A #39AA69
analogous
#A239AA #AA397A #AA3941
triadic
#AA397A #7AAA39 #397AAA
tetradic
#AA397A #AAA239 #39AA69 #3941AA
square
#AA397A #AAA239 #39AA69 #3941AA
split-complementary
#AA397A #41AA39 #39AAA2
monochromatic
#4E1A38 #7C2A59 #AA397A #C75998 #D787B5

Accessibility & contrast

On white

5.87
#AA397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AA397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA397A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA397A#FFFFFF#000000##FFFFFF
##AA397A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587C
Deuteranopia (green-blind)
#686C77
Tritanopia (blue-blind)
#B63554
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa397a;
/* rgb */ color: rgb(170, 57, 122);
/* oklch */ color: oklch(52.6% 0.162 348.6);
Tailwind
colors: {
  custom: {
    50: '#c777a0',
    500: '#aa397a',
    950: '#000000',
  },
}
SCSS
$custom: #aa397a;
$custom-light: #c777a0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa397a",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 325.487,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52638,
    "c": 0.16228,
    "h": 348.6
  },
  "luminance": 0.12877
}

Semantic roles & 50–950 ramp

primary
#AA397A
secondary
#7EC19A
accent
#D9894E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #AA397A

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

Preview Lab → · Contrast checker → · Palette generator →

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