#AA2E7A#AA2E7A

#AA2E7A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.176 H 347.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AA2E7A
RGBrgb(170, 46, 122)
HSLhsl(323, 57%, 42%)
HSVhsv(323, 73%, 67%)
CMYKcmyk(0%, 72.9%, 28.2%, 33.3%)
CIE-LABlab(41.07, 56.61, -14.53)
CIE-LCHlch(41.07, 58.45, 345.61°)
OKLaboklab(51.53% 0.1722 -0.0383)
OKLCHoklch(51.53% 0.176 347.5)
XYZxyz(21.0684, 11.9075, 19.5974)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E7A #2EAA5E
analogous
#9C2EAA #AA2E7A #AA2E3C
triadic
#AA2E7A #7AAA2E #2E7AAA
tetradic
#AA2E7A #AA9C2E #2EAA5E #2E3CAA
square
#AA2E7A #AA9C2E #2EAA5E #2E3CAA
split-complementary
#AA2E7A #3CAA2E #2EAA9C
monochromatic
#4A1435 #7A2157 #AA2E7A #CD489A #DA78B4

Accessibility & contrast

On white

6.21
#AA2E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AA2E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E7A
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E7A#FFFFFF#000000##FFFFFF
##AA2E7A1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#646977
Tritanopia (blue-blind)
#B62950
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2e7a;
/* rgb */ color: rgb(170, 46, 122);
/* oklch */ color: oklch(51.5% 0.176 347.5);
Tailwind
colors: {
  custom: {
    50: '#c772a0',
    500: '#aa2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e7a;
$custom-light: #c772a0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e7a",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 323.226,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.17636,
    "h": 347.5
  },
  "luminance": 0.11905
}

Semantic roles & 50–950 ramp

primary
#AA2E7A
secondary
#71C391
accent
#E18347
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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