#AA3172#AA3172

#AA3172 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.169 H 351.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AA3172
RGBrgb(170, 49, 114)
HSLhsl(328, 55%, 43%)
HSVhsv(328, 71%, 67%)
CMYKcmyk(0%, 71.2%, 32.9%, 33.3%)
CIE-LABlab(41.15, 54.55, -9.44)
CIE-LCHlch(41.15, 55.36, 350.18°)
OKLaboklab(51.49% 0.1667 -0.0244)
OKLCHoklch(51.49% 0.169 351.7)
XYZxyz(20.7143, 11.9599, 17.1340)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3172 #31AA69
analogous
#A531AA #AA3172 #AA3135
triadic
#AA3172 #72AA31 #3172AA
tetradic
#AA3172 #AAA531 #31AA69 #3135AA
square
#AA3172 #AAA531 #31AA69 #3135AA
split-complementary
#AA3172 #35AA31 #31AAA5
monochromatic
#4B1632 #7A2352 #AA3172 #CC4D91 #D97CAE

Accessibility & contrast

On white

6.19
#AA3172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA3172
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3172#FFFFFF#000000##FFFFFF
##AA31721.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455374
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#B7294D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa3172;
/* rgb */ color: rgb(170, 49, 114);
/* oklch */ color: oklch(51.5% 0.169 351.7);
Tailwind
colors: {
  custom: {
    50: '#c7739a',
    500: '#aa3172',
    950: '#000000',
  },
}
SCSS
$custom: #aa3172;
$custom-light: #c7739a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3172",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 327.769,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.1685,
    "h": 351.7
  },
  "luminance": 0.11958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA3172

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

Preview Lab → · Contrast checker → · Palette generator →

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