#AA2F81#AA2F81

#AA2F81 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.179 H 344.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AA2F81
RGBrgb(170, 47, 129)
HSLhsl(320, 57%, 43%)
HSVhsv(320, 72%, 67%)
CMYKcmyk(0%, 72.4%, 24.1%, 33.3%)
CIE-LABlab(41.48, 57.17, -18.22)
CIE-LCHlch(41.48, 60.00, 342.32°)
OKLaboklab(51.92% 0.1726 -0.0486)
OKLCHoklch(51.92% 0.179 344.3)
XYZxyz(21.5574, 12.1663, 21.9777)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F81 #2FAA58
analogous
#952FAA #AA2F81 #AA2F43
triadic
#AA2F81 #81AA2F #2F81AA
tetradic
#AA2F81 #AA952F #2FAA58 #2F43AA
square
#AA2F81 #AA952F #2FAA58 #2F43AA
split-complementary
#AA2F81 #43AA2F #2FAA95
monochromatic
#4A1438 #7A225D #AA2F81 #CD49A1 #DA79BA

Accessibility & contrast

On white

6.12
#AA2F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AA2F81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F81
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F81#FFFFFF#000000##FFFFFF
##AA2F811.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5583
Deuteranopia (green-blind)
#62697E
Tritanopia (blue-blind)
#B52E54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2f81;
/* rgb */ color: rgb(170, 47, 129);
/* oklch */ color: oklch(51.9% 0.179 344.3);
Tailwind
colors: {
  custom: {
    50: '#c773a5',
    500: '#aa2f81',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f81;
$custom-light: #c773a5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f81",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 320,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51922,
    "c": 0.17928,
    "h": 344.3
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

primary
#AA2F81
secondary
#72C28D
accent
#E07B48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AA2F81

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

Preview Lab → · Contrast checker → · Palette generator →

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