#AA397E#AA397E

#AA397E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.8% C 0.165 H 346.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AA397E
RGBrgb(170, 57, 126)
HSLhsl(323, 50%, 45%)
HSVhsv(323, 66%, 67%)
CMYKcmyk(0%, 66.5%, 25.9%, 33.3%)
CIE-LABlab(42.73, 52.93, -14.46)
CIE-LCHlch(42.73, 54.87, 344.73°)
OKLaboklab(52.8% 0.1601 -0.0382)
OKLCHoklch(52.8% 0.165 346.6)
XYZxyz(21.8075, 12.9809, 21.0917)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA397E #39AA65
analogous
#9E39AA #AA397E #AA3945
triadic
#AA397E #7EAA39 #397EAA
tetradic
#AA397E #AA9E39 #39AA65 #3945AA
square
#AA397E #AA9E39 #39AA65 #3945AA
split-complementary
#AA397E #45AA39 #39AA9E
monochromatic
#4E1A3A #7C2A5C #AA397E #C7599C #D787B8

Accessibility & contrast

On white

5.84
#AA397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AA397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA397E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA397E#FFFFFF#000000##FFFFFF
##AA397E1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465980
Deuteranopia (green-blind)
#676C7B
Tritanopia (blue-blind)
#B53656
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa397e;
/* rgb */ color: rgb(170, 57, 126);
/* oklch */ color: oklch(52.8% 0.165 346.6);
Tailwind
colors: {
  custom: {
    50: '#c777a3',
    500: '#aa397e',
    950: '#000000',
  },
}
SCSS
$custom: #aa397e;
$custom-light: #c777a3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa397e",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 323.363,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52801,
    "c": 0.16459,
    "h": 346.6
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#AA397E
secondary
#7EC198
accent
#D9854E
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #AA397E

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

Preview Lab → · Contrast checker → · Palette generator →

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