#AA397C#AA397C

#AA397C is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.163 H 347.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AA397C
RGBrgb(170, 57, 124)
HSLhsl(324, 50%, 45%)
HSVhsv(324, 66%, 67%)
CMYKcmyk(0%, 66.5%, 27.1%, 33.3%)
CIE-LABlab(42.66, 52.66, -13.34)
CIE-LCHlch(42.66, 54.33, 345.78°)
OKLaboklab(52.72% 0.1596 -0.0351)
OKLCHoklch(52.72% 0.163 347.6)
XYZxyz(21.6797, 12.9298, 20.4188)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA397C #39AA67
analogous
#A039AA #AA397C #AA3943
triadic
#AA397C #7CAA39 #397CAA
tetradic
#AA397C #AAA039 #39AA67 #3943AA
square
#AA397C #AAA039 #39AA67 #3943AA
split-complementary
#AA397C #43AA39 #39AAA0
monochromatic
#4E1A39 #7C2A5B #AA397C #C7599A #D787B6

Accessibility & contrast

On white

5.86
#AA397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AA397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA397C
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA397C#FFFFFF#000000##FFFFFF
##AA397C1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587E
Deuteranopia (green-blind)
#676C79
Tritanopia (blue-blind)
#B63655
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa397c;
/* rgb */ color: rgb(170, 57, 124);
/* oklch */ color: oklch(52.7% 0.163 347.6);
Tailwind
colors: {
  custom: {
    50: '#c777a2',
    500: '#aa397c',
    950: '#000000',
  },
}
SCSS
$custom: #aa397c;
$custom-light: #c777a2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa397c",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 324.425,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52719,
    "c": 0.16342,
    "h": 347.6
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#AA397C
secondary
#7EC199
accent
#D9874E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #AA397C

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

Preview Lab → · Contrast checker → · Palette generator →

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