#AA2F79#AA2F79

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

Color values

HEX#AA2F79
RGBrgb(170, 47, 121)
HSLhsl(324, 57%, 43%)
HSVhsv(324, 72%, 67%)
CMYKcmyk(0%, 72.4%, 28.8%, 33.3%)
CIE-LABlab(41.16, 56.13, -13.78)
CIE-LCHlch(41.16, 57.80, 346.21°)
OKLaboklab(51.58% 0.1708 -0.0362)
OKLCHoklch(51.58% 0.175 348)
XYZxyz(21.0463, 11.9619, 19.2860)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F79 #2FAA60
analogous
#9D2FAA #AA2F79 #AA2F3C
triadic
#AA2F79 #79AA2F #2F79AA
tetradic
#AA2F79 #AA9D2F #2FAA60 #2F3CAA
square
#AA2F79 #AA9D2F #2FAA60 #2F3CAA
split-complementary
#AA2F79 #3CAA2F #2FAA9D
monochromatic
#4A1435 #7A2257 #AA2F79 #CD4998 #DA79B4

Accessibility & contrast

On white

6.19
#AA2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AA2F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F79
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F79#FFFFFF#000000##FFFFFF
##AA2F791.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537B
Deuteranopia (green-blind)
#646976
Tritanopia (blue-blind)
#B62A50
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2f79;
/* rgb */ color: rgb(170, 47, 121);
/* oklch */ color: oklch(51.6% 0.175 348.0);
Tailwind
colors: {
  custom: {
    50: '#c7729f',
    500: '#aa2f79',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f79;
$custom-light: #c7729f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f79",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 323.902,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.17461,
    "h": 348
  },
  "luminance": 0.1196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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