#AA2F7A#AA2F7A

#AA2F7A is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.175 H 347.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AA2F7A
RGBrgb(170, 47, 122)
HSLhsl(323, 57%, 43%)
HSVhsv(323, 72%, 67%)
CMYKcmyk(0%, 72.4%, 28.2%, 33.3%)
CIE-LABlab(41.19, 56.26, -14.34)
CIE-LCHlch(41.19, 58.06, 345.70°)
OKLaboklab(51.62% 0.1711 -0.0378)
OKLCHoklch(51.62% 0.175 347.5)
XYZxyz(21.1079, 11.9865, 19.6106)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F7A #2FAA5F
analogous
#9D2FAA #AA2F7A #AA2F3C
triadic
#AA2F7A #7AAA2F #2F7AAA
tetradic
#AA2F7A #AA9D2F #2FAA5F #2F3CAA
square
#AA2F7A #AA9D2F #2FAA5F #2F3CAA
split-complementary
#AA2F7A #3CAA2F #2FAA9D
monochromatic
#4A1435 #7A2258 #AA2F7A #CD499A #DA79B4

Accessibility & contrast

On white

6.18
#AA2F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AA2F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F7A
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F7A#FFFFFF#000000##FFFFFF
##AA2F7A1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547C
Deuteranopia (green-blind)
#646977
Tritanopia (blue-blind)
#B62B50
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2f7a;
/* rgb */ color: rgb(170, 47, 122);
/* oklch */ color: oklch(51.6% 0.175 347.5);
Tailwind
colors: {
  custom: {
    50: '#c772a0',
    500: '#aa2f7a',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f7a;
$custom-light: #c772a0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f7a",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 323.415,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.17517,
    "h": 347.5
  },
  "luminance": 0.11984
}

Semantic roles & 50–950 ramp

primary
#AA2F7A
secondary
#72C292
accent
#E08348
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA2F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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