#AA3170#AA3170

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

Color values

HEX#AA3170
RGBrgb(170, 49, 112)
HSLhsl(329, 55%, 43%)
HSVhsv(329, 71%, 67%)
CMYKcmyk(0%, 71.2%, 34.1%, 33.3%)
CIE-LABlab(41.08, 54.31, -8.30)
CIE-LCHlch(41.08, 54.94, 351.31°)
OKLaboklab(51.42% 0.1662 -0.0213)
OKLCHoklch(51.42% 0.168 352.7)
XYZxyz(20.6017, 11.9149, 16.5410)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3170 #31AA6B
analogous
#A731AA #AA3170 #AA3134
triadic
#AA3170 #70AA31 #3170AA
tetradic
#AA3170 #AAA731 #31AA6B #3134AA
square
#AA3170 #AAA731 #31AA6B #3134AA
split-complementary
#AA3170 #34AA31 #31AAA7
monochromatic
#4B1631 #7A2351 #AA3170 #CC4D8F #D97CAD

Accessibility & contrast

On white

6.21
#AA3170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AA3170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3170
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3170#FFFFFF#000000##FFFFFF
##AA31701.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455372
Deuteranopia (green-blind)
#68696D
Tritanopia (blue-blind)
#B7284C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa3170;
/* rgb */ color: rgb(170, 49, 112);
/* oklch */ color: oklch(51.4% 0.168 352.7);
Tailwind
colors: {
  custom: {
    50: '#c87399',
    500: '#aa3170',
    950: '#000000',
  },
}
SCSS
$custom: #aa3170;
$custom-light: #c87399;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3170",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 328.76,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51415,
    "c": 0.16752,
    "h": 352.7
  },
  "luminance": 0.11913
}

Semantic roles & 50–950 ramp

primary
#AA3170
secondary
#75C29A
accent
#DF9149
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AA3170

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

Preview Lab → · Contrast checker → · Palette generator →

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