#AA2E8C#AA2E8C

#AA2E8C is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.188 H 339.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AA2E8C
RGBrgb(170, 46, 140)
HSLhsl(315, 57%, 42%)
HSVhsv(315, 73%, 67%)
CMYKcmyk(0%, 72.9%, 17.6%, 33.3%)
CIE-LABlab(41.84, 59.03, -24.40)
CIE-LCHlch(41.84, 63.87, 337.54°)
OKLaboklab(52.34% 0.1755 -0.066)
OKLCHoklch(52.34% 0.188 339.4)
XYZxyz(22.2887, 12.3956, 26.0246)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E8C #2EAA4C
analogous
#8A2EAA #AA2E8C #AA2E4E
triadic
#AA2E8C #8CAA2E #2E8CAA
tetradic
#AA2E8C #AA8A2E #2EAA4C #2E4EAA
square
#AA2E8C #AA8A2E #2EAA4C #2E4EAA
split-complementary
#AA2E8C #4EAA2E #2EAA8A
monochromatic
#4A143D #7A2164 #AA2E8C #CD48AD #DA78C3

Accessibility & contrast

On white

6.04
#AA2E8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AA2E8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E8C
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E8C#FFFFFF#000000##FFFFFF
##AA2E8C1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568F
Deuteranopia (green-blind)
#5E6A89
Tritanopia (blue-blind)
#B43359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2e8c;
/* rgb */ color: rgb(170, 46, 140);
/* oklch */ color: oklch(52.3% 0.188 339.4);
Tailwind
colors: {
  custom: {
    50: '#c773ae',
    500: '#aa2e8c',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e8c;
$custom-light: #c773ae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e8c",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 140
  },
  "hsl": {
    "h": 314.516,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52341,
    "c": 0.18751,
    "h": 339.4
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#AA2E8C
secondary
#71C385
accent
#E16C47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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