#AA2E78#AA2E78

#AA2E78 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.175 H 348.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AA2E78
RGBrgb(170, 46, 120)
HSLhsl(324, 57%, 42%)
HSVhsv(324, 73%, 67%)
CMYKcmyk(0%, 72.9%, 29.4%, 33.3%)
CIE-LABlab(40.99, 56.36, -13.41)
CIE-LCHlch(40.99, 57.94, 346.62°)
OKLaboklab(51.45% 0.1717 -0.0352)
OKLCHoklch(51.45% 0.175 348.4)
XYZxyz(20.9458, 11.8584, 18.9515)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E78 #2EAA60
analogous
#9E2EAA #AA2E78 #AA2E3A
triadic
#AA2E78 #78AA2E #2E78AA
tetradic
#AA2E78 #AA9E2E #2EAA60 #2E3AAA
square
#AA2E78 #AA9E2E #2EAA60 #2E3AAA
split-complementary
#AA2E78 #3AAA2E #2EAA9E
monochromatic
#4A1434 #7A2156 #AA2E78 #CD4898 #DA78B3

Accessibility & contrast

On white

6.23
#AA2E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AA2E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E78
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E78#FFFFFF#000000##FFFFFF
##AA2E781.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537A
Deuteranopia (green-blind)
#646975
Tritanopia (blue-blind)
#B6284F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2e78;
/* rgb */ color: rgb(170, 46, 120);
/* oklch */ color: oklch(51.4% 0.175 348.4);
Tailwind
colors: {
  custom: {
    50: '#c7729f',
    500: '#aa2e78',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e78;
$custom-light: #c7729f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e78",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 324.194,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51447,
    "c": 0.17526,
    "h": 348.4
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#AA2E78
secondary
#71C392
accent
#E18547
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA2E78

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

Preview Lab → · Contrast checker → · Palette generator →

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