#AA2E8B#AA2E8B

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

Color values

HEX#AA2E8B
RGBrgb(170, 46, 139)
HSLhsl(315, 57%, 42%)
HSVhsv(315, 73%, 67%)
CMYKcmyk(0%, 72.9%, 18.2%, 33.3%)
CIE-LABlab(41.79, 58.89, -23.86)
CIE-LCHlch(41.79, 63.54, 337.94°)
OKLaboklab(52.29% 0.1754 -0.0644)
OKLCHoklch(52.29% 0.187 339.8)
XYZxyz(22.2153, 12.3663, 25.6380)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E8B #2EAA4D
analogous
#8B2EAA #AA2E8B #AA2E4D
triadic
#AA2E8B #8BAA2E #2E8BAA
tetradic
#AA2E8B #AA8B2E #2EAA4D #2E4DAA
square
#AA2E8B #AA8B2E #2EAA4D #2E4DAA
split-complementary
#AA2E8B #4DAA2E #2EAA8B
monochromatic
#4A143C #7A2164 #AA2E8B #CD48AC #DA78C2

Accessibility & contrast

On white

6.05
#AA2E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2E8B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E8B#FFFFFF#000000##FFFFFF
##AA2E8B1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568E
Deuteranopia (green-blind)
#5E6A88
Tritanopia (blue-blind)
#B43259
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2e8b;
/* rgb */ color: rgb(170, 46, 139);
/* oklch */ color: oklch(52.3% 0.187 339.8);
Tailwind
colors: {
  custom: {
    50: '#c773ad',
    500: '#aa2e8b',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e8b;
$custom-light: #c773ad;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e8b",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 315,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52293,
    "c": 0.18685,
    "h": 339.8
  },
  "luminance": 0.12364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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