#AA317A#AA317A

#AA317A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.173 H 347.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AA317A
RGBrgb(170, 49, 122)
HSLhsl(324, 55%, 43%)
HSVhsv(324, 71%, 67%)
CMYKcmyk(0%, 71.2%, 28.2%, 33.3%)
CIE-LABlab(41.45, 55.53, -13.94)
CIE-LCHlch(41.45, 57.26, 345.91°)
OKLaboklab(51.81% 0.1688 -0.0367)
OKLCHoklch(51.81% 0.173 347.7)
XYZxyz(21.1897, 12.1501, 19.6379)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA317A #31AA61
analogous
#9D31AA #AA317A #AA313D
triadic
#AA317A #7AAA31 #317AAA
tetradic
#AA317A #AA9D31 #31AA61 #313DAA
square
#AA317A #AA9D31 #31AA61 #313DAA
split-complementary
#AA317A #3DAA31 #31AA9D
monochromatic
#4B1636 #7A2358 #AA317A #CC4D99 #D97CB4

Accessibility & contrast

On white

6.12
#AA317A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AA317A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA317A
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA317A#FFFFFF#000000##FFFFFF
##AA317A1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547C
Deuteranopia (green-blind)
#656977
Tritanopia (blue-blind)
#B62D51
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa317a;
/* rgb */ color: rgb(170, 49, 122);
/* oklch */ color: oklch(51.8% 0.173 347.7);
Tailwind
colors: {
  custom: {
    50: '#c773a0',
    500: '#aa317a',
    950: '#000000',
  },
}
SCSS
$custom: #aa317a;
$custom-light: #c773a0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa317a",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 323.802,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51811,
    "c": 0.17274,
    "h": 347.7
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#AA317A
secondary
#75C293
accent
#DF8449
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA317A

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

Preview Lab → · Contrast checker → · Palette generator →

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