#AA2A78#AA2A78

#AA2A78 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.180 H 348.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AA2A78
RGBrgb(170, 42, 120)
HSLhsl(323, 60%, 42%)
HSVhsv(323, 75%, 67%)
CMYKcmyk(0%, 75.3%, 29.4%, 33.3%)
CIE-LABlab(40.51, 57.72, -14.14)
CIE-LCHlch(40.51, 59.43, 346.23°)
OKLaboklab(51.1% 0.1759 -0.0372)
OKLCHoklch(51.1% 0.18 348.1)
XYZxyz(20.7967, 11.5604, 18.9018)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A78 #2AAA5C
analogous
#9C2AAA #AA2A78 #AA2A38
triadic
#AA2A78 #78AA2A #2A78AA
tetradic
#AA2A78 #AA9C2A #2AAA5C #2A38AA
square
#AA2A78 #AA9C2A #2AAA5C #2A38AA
split-complementary
#AA2A78 #38AA2A #2AAA9C
monochromatic
#481233 #791E55 #AA2A78 #D04198 #DC72B3

Accessibility & contrast

On white

6.34
#AA2A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AA2A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A78
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A78#FFFFFF#000000##FFFFFF
##AA2A781.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D517A
Deuteranopia (green-blind)
#636875
Tritanopia (blue-blind)
#B6244D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa2a78;
/* rgb */ color: rgb(170, 42, 120);
/* oklch */ color: oklch(51.1% 0.180 348.1);
Tailwind
colors: {
  custom: {
    50: '#c8709f',
    500: '#aa2a78',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a78;
$custom-light: #c8709f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a78",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 323.438,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51096,
    "c": 0.1798,
    "h": 348.1
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#AA2A78
secondary
#6CC38E
accent
#E48244
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA2A78

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

Preview Lab → · Contrast checker → · Palette generator →

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