#AA397B#AA397B

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

Color values

HEX#AA397B
RGBrgb(170, 57, 123)
HSLhsl(325, 50%, 45%)
HSVhsv(325, 66%, 67%)
CMYKcmyk(0%, 66.5%, 27.6%, 33.3%)
CIE-LABlab(42.62, 52.53, -12.79)
CIE-LCHlch(42.62, 54.07, 346.32°)
OKLaboklab(52.68% 0.1594 -0.0336)
OKLCHoklch(52.68% 0.163 348.1)
XYZxyz(21.6168, 12.9046, 20.0875)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA397B #39AA68
analogous
#A139AA #AA397B #AA3942
triadic
#AA397B #7BAA39 #397BAA
tetradic
#AA397B #AAA139 #39AA68 #3942AA
square
#AA397B #AAA139 #39AA68 #3942AA
split-complementary
#AA397B #42AA39 #39AAA1
monochromatic
#4E1A39 #7C2A5A #AA397B #C75999 #D787B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA397B#FFFFFF#000000##FFFFFF
##AA397B1.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)
#47587D
Deuteranopia (green-blind)
#686C78
Tritanopia (blue-blind)
#B63555
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa397b;
/* rgb */ color: rgb(170, 57, 123);
/* oklch */ color: oklch(52.7% 0.163 348.1);
Tailwind
colors: {
  custom: {
    50: '#c777a1',
    500: '#aa397b',
    950: '#000000',
  },
}
SCSS
$custom: #aa397b;
$custom-light: #c777a1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa397b",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 324.956,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52678,
    "c": 0.16285,
    "h": 348.1
  },
  "luminance": 0.12902
}

Semantic roles & 50–950 ramp

primary
#AA397B
secondary
#7EC19A
accent
#D9884E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #AA397B

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

Preview Lab → · Contrast checker → · Palette generator →

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