#AA3173#AA3173

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

Color values

HEX#AA3173
RGBrgb(170, 49, 115)
HSLhsl(327, 55%, 43%)
HSVhsv(327, 71%, 67%)
CMYKcmyk(0%, 71.2%, 32.4%, 33.3%)
CIE-LABlab(41.19, 54.67, -10.00)
CIE-LCHlch(41.19, 55.58, 349.63°)
OKLaboklab(51.53% 0.167 -0.0259)
OKLCHoklch(51.53% 0.169 351.2)
XYZxyz(20.7715, 11.9828, 17.4354)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3173 #31AA68
analogous
#A431AA #AA3173 #AA3136
triadic
#AA3173 #73AA31 #3173AA
tetradic
#AA3173 #AAA431 #31AA68 #3136AA
square
#AA3173 #AAA431 #31AA68 #3136AA
split-complementary
#AA3173 #36AA31 #31AAA4
monochromatic
#4B1633 #7A2353 #AA3173 #CC4D92 #D97CAF

Accessibility & contrast

On white

6.18
#AA3173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AA3173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3173
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3173#FFFFFF#000000##FFFFFF
##AA31731.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445375
Deuteranopia (green-blind)
#676970
Tritanopia (blue-blind)
#B7294E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa3173;
/* rgb */ color: rgb(170, 49, 115);
/* oklch */ color: oklch(51.5% 0.169 351.2);
Tailwind
colors: {
  custom: {
    50: '#c7739b',
    500: '#aa3173',
    950: '#000000',
  },
}
SCSS
$custom: #aa3173;
$custom-light: #c7739b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3173",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 327.273,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.169,
    "h": 351.2
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#AA3173
secondary
#75C298
accent
#DF8D49
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA3173

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

Preview Lab → · Contrast checker → · Palette generator →

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