#AA2F77#AA2F77

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

Color values

HEX#AA2F77
RGBrgb(170, 47, 119)
HSLhsl(325, 57%, 43%)
HSVhsv(325, 72%, 67%)
CMYKcmyk(0%, 72.4%, 30%, 33.3%)
CIE-LABlab(41.08, 55.88, -12.65)
CIE-LCHlch(41.08, 57.30, 347.24°)
OKLaboklab(51.5% 0.1703 -0.0332)
OKLCHoklch(51.5% 0.174 349)
XYZxyz(20.9249, 11.9133, 18.6467)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F77 #2FAA62
analogous
#9F2FAA #AA2F77 #AA2F3A
triadic
#AA2F77 #77AA2F #2F77AA
tetradic
#AA2F77 #AA9F2F #2FAA62 #2F3AAA
square
#AA2F77 #AA9F2F #2FAA62 #2F3AAA
split-complementary
#AA2F77 #3AAA2F #2FAA9F
monochromatic
#4A1434 #7A2255 #AA2F77 #CD4996 #DA79B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA2F77#FFFFFF#000000##FFFFFF
##AA2F771.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)
#415379
Deuteranopia (green-blind)
#656974
Tritanopia (blue-blind)
#B6294F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2f77;
/* rgb */ color: rgb(170, 47, 119);
/* oklch */ color: oklch(51.5% 0.174 349.0);
Tailwind
colors: {
  custom: {
    50: '#c7729e',
    500: '#aa2f77',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f77;
$custom-light: #c7729e;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f77",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 324.878,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.17352,
    "h": 349
  },
  "luminance": 0.11911
}

Semantic roles & 50–950 ramp

primary
#AA2F77
secondary
#72C294
accent
#E08748
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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