#AA2E8A#AA2E8A

#AA2E8A is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.186 H 340.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AA2E8A
RGBrgb(170, 46, 138)
HSLhsl(315, 57%, 42%)
HSVhsv(315, 73%, 67%)
CMYKcmyk(0%, 72.9%, 18.8%, 33.3%)
CIE-LABlab(41.75, 58.75, -23.32)
CIE-LCHlch(41.75, 63.21, 338.35°)
OKLaboklab(52.25% 0.1752 -0.0629)
OKLCHoklch(52.25% 0.186 340.3)
XYZxyz(22.1426, 12.3372, 25.2550)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E8A #2EAA4E
analogous
#8C2EAA #AA2E8A #AA2E4C
triadic
#AA2E8A #8AAA2E #2E8AAA
tetradic
#AA2E8A #AA8C2E #2EAA4E #2E4CAA
square
#AA2E8A #AA8C2E #2EAA4E #2E4CAA
split-complementary
#AA2E8A #4CAA2E #2EAA8C
monochromatic
#4A143C #7A2163 #AA2E8A #CD48AB #DA78C1

Accessibility & contrast

On white

6.06
#AA2E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AA2E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E8A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E8A#FFFFFF#000000##FFFFFF
##AA2E8A1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568D
Deuteranopia (green-blind)
#5F6A87
Tritanopia (blue-blind)
#B43258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2e8a;
/* rgb */ color: rgb(170, 46, 138);
/* oklch */ color: oklch(52.2% 0.186 340.3);
Tailwind
colors: {
  custom: {
    50: '#c772ac',
    500: '#aa2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e8a;
$custom-light: #c772ac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e8a",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 315.484,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52245,
    "c": 0.18619,
    "h": 340.3
  },
  "luminance": 0.12335
}

Semantic roles & 50–950 ramp

primary
#AA2E8A
secondary
#71C386
accent
#E16F47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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