#AA3171#AA3171

#AA3171 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.168 H 352.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AA3171
RGBrgb(170, 49, 113)
HSLhsl(328, 55%, 43%)
HSVhsv(328, 71%, 67%)
CMYKcmyk(0%, 71.2%, 33.5%, 33.3%)
CIE-LABlab(41.12, 54.43, -8.87)
CIE-LCHlch(41.12, 55.15, 350.74°)
OKLaboklab(51.45% 0.1664 -0.0229)
OKLCHoklch(51.45% 0.168 352.2)
XYZxyz(20.6577, 11.9373, 16.8358)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3171 #31AA6A
analogous
#A631AA #AA3171 #AA3135
triadic
#AA3171 #71AA31 #3171AA
tetradic
#AA3171 #AAA631 #31AA6A #3135AA
square
#AA3171 #AAA631 #31AA6A #3135AA
split-complementary
#AA3171 #35AA31 #31AAA6
monochromatic
#4B1632 #7A2351 #AA3171 #CC4D90 #D97CAD

Accessibility & contrast

On white

6.20
#AA3171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AA3171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3171
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3171#FFFFFF#000000##FFFFFF
##AA31711.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455373
Deuteranopia (green-blind)
#67696E
Tritanopia (blue-blind)
#B7284D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa3171;
/* rgb */ color: rgb(170, 49, 113);
/* oklch */ color: oklch(51.5% 0.168 352.2);
Tailwind
colors: {
  custom: {
    50: '#c87399',
    500: '#aa3171',
    950: '#000000',
  },
}
SCSS
$custom: #aa3171;
$custom-light: #c87399;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3171",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 328.264,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51453,
    "c": 0.168,
    "h": 352.2
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#AA3171
secondary
#75C299
accent
#DF9049
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA3171

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

Preview Lab → · Contrast checker → · Palette generator →

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