#AA2F78#AA2F78

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

Color values

HEX#AA2F78
RGBrgb(170, 47, 120)
HSLhsl(324, 57%, 43%)
HSVhsv(324, 72%, 67%)
CMYKcmyk(0%, 72.4%, 29.4%, 33.3%)
CIE-LABlab(41.12, 56.01, -13.22)
CIE-LCHlch(41.12, 57.55, 346.72°)
OKLaboklab(51.54% 0.1706 -0.0347)
OKLCHoklch(51.54% 0.174 348.5)
XYZxyz(20.9853, 11.9375, 18.9647)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F78 #2FAA61
analogous
#9E2FAA #AA2F78 #AA2F3B
triadic
#AA2F78 #78AA2F #2F78AA
tetradic
#AA2F78 #AA9E2F #2FAA61 #2F3BAA
square
#AA2F78 #AA9E2F #2FAA61 #2F3BAA
split-complementary
#AA2F78 #3BAA2F #2FAA9E
monochromatic
#4A1434 #7A2256 #AA2F78 #CD4997 #DA79B3

Accessibility & contrast

On white

6.20
#AA2F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2F78
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F78#FFFFFF#000000##FFFFFF
##AA2F781.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41537A
Deuteranopia (green-blind)
#656975
Tritanopia (blue-blind)
#B62A4F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2f78;
/* rgb */ color: rgb(170, 47, 120);
/* oklch */ color: oklch(51.5% 0.174 348.5);
Tailwind
colors: {
  custom: {
    50: '#c7729f',
    500: '#aa2f78',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f78;
$custom-light: #c7729f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f78",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 324.39,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51539,
    "c": 0.17406,
    "h": 348.5
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#AA2F78
secondary
#72C293
accent
#E08648
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA2F78

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

Preview Lab → · Contrast checker → · Palette generator →

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