#AA317F#AA317F

#AA317F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.176 H 345.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AA317F
RGBrgb(170, 49, 127)
HSLhsl(321, 55%, 43%)
HSVhsv(321, 71%, 67%)
CMYKcmyk(0%, 71.2%, 25.3%, 33.3%)
CIE-LABlab(41.65, 56.18, -16.72)
CIE-LCHlch(41.65, 58.62, 343.43°)
OKLaboklab(52.02% 0.1699 -0.0444)
OKLCHoklch(52.02% 0.176 345.4)
XYZxyz(21.5075, 12.2772, 21.3116)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA317F #31AA5C
analogous
#9831AA #AA317F #AA3143
triadic
#AA317F #7FAA31 #317FAA
tetradic
#AA317F #AA9831 #31AA5C #3143AA
square
#AA317F #AA9831 #31AA5C #3143AA
split-complementary
#AA317F #43AA31 #31AA98
monochromatic
#4B1638 #7A235C #AA317F #CC4D9E #D97CB8

Accessibility & contrast

On white

6.08
#AA317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AA317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA317F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA317F#FFFFFF#000000##FFFFFF
##AA317F1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#636A7C
Tritanopia (blue-blind)
#B52F54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa317f;
/* rgb */ color: rgb(170, 49, 127);
/* oklch */ color: oklch(52.0% 0.176 345.4);
Tailwind
colors: {
  custom: {
    50: '#c773a4',
    500: '#aa317f',
    950: '#000000',
  },
}
SCSS
$custom: #aa317f;
$custom-light: #c773a4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa317f",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 321.322,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.17564,
    "h": 345.4
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#AA317F
secondary
#75C290
accent
#DF7E49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AA317F

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

Preview Lab → · Contrast checker → · Palette generator →

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