#AA2E71#AA2E71

#AA2E71 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.172 H 351.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AA2E71
RGBrgb(170, 46, 113)
HSLhsl(328, 57%, 42%)
HSVhsv(328, 73%, 67%)
CMYKcmyk(0%, 72.9%, 33.5%, 33.3%)
CIE-LABlab(40.73, 55.52, -9.46)
CIE-LCHlch(40.73, 56.32, 350.33°)
OKLaboklab(51.17% 0.1699 -0.0244)
OKLCHoklch(51.17% 0.172 351.8)
XYZxyz(20.5364, 11.6947, 16.7954)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E71 #2EAA67
analogous
#A52EAA #AA2E71 #AA2E33
triadic
#AA2E71 #71AA2E #2E71AA
tetradic
#AA2E71 #AAA52E #2EAA67 #2E33AA
square
#AA2E71 #AAA52E #2EAA67 #2E33AA
split-complementary
#AA2E71 #33AA2E #2EAAA5
monochromatic
#4A1431 #7A2151 #AA2E71 #CD4890 #DA78AD

Accessibility & contrast

On white

6.29
#AA2E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AA2E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E71
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E71#FFFFFF#000000##FFFFFF
##AA2E711.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#66686E
Tritanopia (blue-blind)
#B7254B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2e71;
/* rgb */ color: rgb(170, 46, 113);
/* oklch */ color: oklch(51.2% 0.172 351.8);
Tailwind
colors: {
  custom: {
    50: '#c87299',
    500: '#aa2e71',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e71;
$custom-light: #c87299;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e71",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 327.581,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51168,
    "c": 0.17162,
    "h": 351.8
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#AA2E71
secondary
#71C397
accent
#E18E47
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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