#AA2F80#AA2F80

#AA2F80 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.179 H 344.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AA2F80
RGBrgb(170, 47, 128)
HSLhsl(320, 57%, 43%)
HSVhsv(320, 72%, 67%)
CMYKcmyk(0%, 72.4%, 24.7%, 33.3%)
CIE-LABlab(41.44, 57.03, -17.67)
CIE-LCHlch(41.44, 59.71, 342.79°)
OKLaboklab(51.88% 0.1724 -0.047)
OKLCHoklch(51.88% 0.179 344.7)
XYZxyz(21.4912, 12.1398, 21.6293)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F80 #2FAA59
analogous
#972FAA #AA2F80 #AA2F42
triadic
#AA2F80 #80AA2F #2F80AA
tetradic
#AA2F80 #AA972F #2FAA59 #2F42AA
square
#AA2F80 #AA972F #2FAA59 #2F42AA
split-complementary
#AA2F80 #42AA2F #2FAA97
monochromatic
#4A1438 #7A225C #AA2F80 #CD49A0 #DA79B9

Accessibility & contrast

On white

6.13
#AA2F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AA2F80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F80
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F80#FFFFFF#000000##FFFFFF
##AA2F801.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5582
Deuteranopia (green-blind)
#62697D
Tritanopia (blue-blind)
#B52E53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2f80;
/* rgb */ color: rgb(170, 47, 128);
/* oklch */ color: oklch(51.9% 0.179 344.7);
Tailwind
colors: {
  custom: {
    50: '#c773a5',
    500: '#aa2f80',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f80;
$custom-light: #c773a5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f80",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 320.488,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.17867,
    "h": 344.7
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#AA2F80
secondary
#72C28E
accent
#E07C48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AA2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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