#AA2C71#AA2C71

#AA2C71 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.174 H 351.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AA2C71
RGBrgb(170, 44, 113)
HSLhsl(327, 59%, 42%)
HSVhsv(327, 74%, 67%)
CMYKcmyk(0%, 74.1%, 33.5%, 33.3%)
CIE-LABlab(40.48, 56.21, -9.83)
CIE-LCHlch(40.48, 57.07, 350.08°)
OKLaboklab(50.99% 0.1721 -0.0254)
OKLCHoklch(50.99% 0.174 351.6)
XYZxyz(20.4601, 11.5421, 16.7700)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2C71 #2CAA65
analogous
#A42CAA #AA2C71 #AA2C32
triadic
#AA2C71 #71AA2C #2C71AA
tetradic
#AA2C71 #AAA42C #2CAA65 #2C32AA
square
#AA2C71 #AAA42C #2CAA65 #2C32AA
split-complementary
#AA2C71 #32AA2C #2CAAA4
monochromatic
#491330 #791F51 #AA2C71 #CF4490 #DB75AD

Accessibility & contrast

On white

6.35
#AA2C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AA2C71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2C71
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2C71#FFFFFF#000000##FFFFFF
##AA2C711.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425173
Deuteranopia (green-blind)
#66686E
Tritanopia (blue-blind)
#B7224B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa2c71;
/* rgb */ color: rgb(170, 44, 113);
/* oklch */ color: oklch(51.0% 0.174 351.6);
Tailwind
colors: {
  custom: {
    50: '#c87199',
    500: '#aa2c71',
    950: '#000000',
  },
}
SCSS
$custom: #aa2c71;
$custom-light: #c87199;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2c71",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 327.143,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50986,
    "c": 0.17393,
    "h": 351.6
  },
  "luminance": 0.1154
}

Semantic roles & 50–950 ramp

primary
#AA2C71
secondary
#6FC395
accent
#E28C46
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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