#AA2F84#AA2F84

#AA2F84 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.181 H 342.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AA2F84
RGBrgb(170, 47, 132)
HSLhsl(319, 57%, 43%)
HSVhsv(319, 72%, 67%)
CMYKcmyk(0%, 72.4%, 22.4%, 33.3%)
CIE-LABlab(41.61, 57.57, -19.86)
CIE-LCHlch(41.61, 60.90, 340.96°)
OKLaboklab(52.06% 0.1732 -0.0532)
OKLCHoklch(52.06% 0.181 342.9)
XYZxyz(21.7597, 12.2472, 23.0433)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F84 #2FAA55
analogous
#932FAA #AA2F84 #AA2F46
triadic
#AA2F84 #84AA2F #2F84AA
tetradic
#AA2F84 #AA932F #2FAA55 #2F46AA
square
#AA2F84 #AA932F #2FAA55 #2F46AA
split-complementary
#AA2F84 #46AA2F #2FAA93
monochromatic
#4A143A #7A225F #AA2F84 #CD49A4 #DA79BC

Accessibility & contrast

On white

6.09
#AA2F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AA2F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F84
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F84#FFFFFF#000000##FFFFFF
##AA2F841.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5586
Deuteranopia (green-blind)
#616981
Tritanopia (blue-blind)
#B53055
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2f84;
/* rgb */ color: rgb(170, 47, 132);
/* oklch */ color: oklch(52.1% 0.181 342.9);
Tailwind
colors: {
  custom: {
    50: '#c773a8',
    500: '#aa2f84',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f84;
$custom-light: #c773a8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f84",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 318.537,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52057,
    "c": 0.18114,
    "h": 342.9
  },
  "luminance": 0.12245
}

Semantic roles & 50–950 ramp

primary
#AA2F84
secondary
#72C28B
accent
#E07748
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AA2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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