#AA3179#AA3179

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

Color values

HEX#AA3179
RGBrgb(170, 49, 121)
HSLhsl(324, 55%, 43%)
HSVhsv(324, 71%, 67%)
CMYKcmyk(0%, 71.2%, 28.8%, 33.3%)
CIE-LABlab(41.41, 55.41, -13.38)
CIE-LCHlch(41.41, 57.00, 346.42°)
OKLaboklab(51.77% 0.1686 -0.0352)
OKLCHoklch(51.77% 0.172 348.2)
XYZxyz(21.1281, 12.1255, 19.3132)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3179 #31AA62
analogous
#9F31AA #AA3179 #AA313C
triadic
#AA3179 #79AA31 #3179AA
tetradic
#AA3179 #AA9F31 #31AA62 #313CAA
square
#AA3179 #AA9F31 #31AA62 #313CAA
split-complementary
#AA3179 #3CAA31 #31AA9F
monochromatic
#4B1635 #7A2357 #AA3179 #CC4D98 #D97CB4

Accessibility & contrast

On white

6.13
#AA3179 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AA3179 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3179
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3179#FFFFFF#000000##FFFFFF
##AA31791.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547B
Deuteranopia (green-blind)
#656976
Tritanopia (blue-blind)
#B62C50
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa3179;
/* rgb */ color: rgb(170, 49, 121);
/* oklch */ color: oklch(51.8% 0.172 348.2);
Tailwind
colors: {
  custom: {
    50: '#c7739f',
    500: '#aa3179',
    950: '#000000',
  },
}
SCSS
$custom: #aa3179;
$custom-light: #c7739f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3179",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 324.298,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5177,
    "c": 0.17218,
    "h": 348.2
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#AA3179
secondary
#75C294
accent
#DF8649
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA3179

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

Preview Lab → · Contrast checker → · Palette generator →

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