#AA397F#AA397F

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

Color values

HEX#AA397F
RGBrgb(170, 57, 127)
HSLhsl(323, 50%, 45%)
HSVhsv(323, 66%, 67%)
CMYKcmyk(0%, 66.5%, 25.3%, 33.3%)
CIE-LABlab(42.77, 53.07, -15.01)
CIE-LCHlch(42.77, 55.15, 344.21°)
OKLaboklab(52.84% 0.1603 -0.0397)
OKLCHoklch(52.84% 0.165 346.1)
XYZxyz(21.8723, 13.0068, 21.4332)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA397F #39AA64
analogous
#9D39AA #AA397F #AA3946
triadic
#AA397F #7FAA39 #397FAA
tetradic
#AA397F #AA9D39 #39AA64 #3946AA
square
#AA397F #AA9D39 #39AA64 #3946AA
split-complementary
#AA397F #46AA39 #39AA9D
monochromatic
#4E1A3B #7C2A5D #AA397F #C7599D #D787B8

Accessibility & contrast

On white

5.83
#AA397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA397F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA397F#FFFFFF#000000##FFFFFF
##AA397F1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465981
Deuteranopia (green-blind)
#676C7C
Tritanopia (blue-blind)
#B53757
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa397f;
/* rgb */ color: rgb(170, 57, 127);
/* oklch */ color: oklch(52.8% 0.165 346.1);
Tailwind
colors: {
  custom: {
    50: '#c777a4',
    500: '#aa397f',
    950: '#000000',
  },
}
SCSS
$custom: #aa397f;
$custom-light: #c777a4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa397f",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 322.832,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52842,
    "c": 0.16519,
    "h": 346.1
  },
  "luminance": 0.13005
}

Semantic roles & 50–950 ramp

primary
#AA397F
secondary
#7EC197
accent
#D9834E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #AA397F

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

Preview Lab → · Contrast checker → · Palette generator →

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