#AA2A7A#AA2A7A

#AA2A7A is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.181 H 347.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AA2A7A
RGBrgb(170, 42, 122)
HSLhsl(323, 60%, 42%)
HSVhsv(323, 75%, 67%)
CMYKcmyk(0%, 75.3%, 28.2%, 33.3%)
CIE-LABlab(40.59, 57.97, -15.26)
CIE-LCHlch(40.59, 59.94, 345.25°)
OKLaboklab(51.18% 0.1764 -0.0403)
OKLCHoklch(51.18% 0.181 347.1)
XYZxyz(20.9194, 11.6095, 19.5478)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A7A #2AAA5A
analogous
#9A2AAA #AA2A7A #AA2A3A
triadic
#AA2A7A #7AAA2A #2A7AAA
tetradic
#AA2A7A #AA9A2A #2AAA5A #2A3AAA
square
#AA2A7A #AA9A2A #2AAA5A #2A3AAA
split-complementary
#AA2A7A #3AAA2A #2AAA9A
monochromatic
#481234 #791E57 #AA2A7A #D0419A #DC72B4

Accessibility & contrast

On white

6.32
#AA2A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AA2A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A7A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A7A#FFFFFF#000000##FFFFFF
##AA2A7A1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527C
Deuteranopia (green-blind)
#626877
Tritanopia (blue-blind)
#B6254E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2a7a;
/* rgb */ color: rgb(170, 42, 122);
/* oklch */ color: oklch(51.2% 0.181 347.1);
Tailwind
colors: {
  custom: {
    50: '#c870a0',
    500: '#aa2a7a',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a7a;
$custom-light: #c870a0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a7a",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 322.5,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.18092,
    "h": 347.1
  },
  "luminance": 0.11607
}

Semantic roles & 50–950 ramp

primary
#AA2A7A
secondary
#6CC38D
accent
#E48044
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA2A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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