#AA2E8D#AA2E8D

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

Color values

HEX#AA2E8D
RGBrgb(170, 46, 141)
HSLhsl(314, 57%, 42%)
HSVhsv(314, 73%, 67%)
CMYKcmyk(0%, 72.9%, 17.1%, 33.3%)
CIE-LABlab(41.88, 59.17, -24.94)
CIE-LCHlch(41.88, 64.21, 337.15°)
OKLaboklab(52.39% 0.1757 -0.0675)
OKLCHoklch(52.39% 0.188 339)
XYZxyz(22.3628, 12.4253, 26.4147)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E8D #2EAA4B
analogous
#892EAA #AA2E8D #AA2E4F
triadic
#AA2E8D #8DAA2E #2E8DAA
tetradic
#AA2E8D #AA892E #2EAA4B #2E4FAA
square
#AA2E8D #AA892E #2EAA4B #2E4FAA
split-complementary
#AA2E8D #4FAA2E #2EAA89
monochromatic
#4A143D #7A2165 #AA2E8D #CD48AE #DA78C3

Accessibility & contrast

On white

6.03
#AA2E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2E8D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E8D#FFFFFF#000000##FFFFFF
##AA2E8D1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355690
Deuteranopia (green-blind)
#5D6A8A
Tritanopia (blue-blind)
#B4335A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2e8d;
/* rgb */ color: rgb(170, 46, 141);
/* oklch */ color: oklch(52.4% 0.188 339.0);
Tailwind
colors: {
  custom: {
    50: '#c773ae',
    500: '#aa2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e8d;
$custom-light: #c773ae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e8d",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 314.032,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52389,
    "c": 0.18818,
    "h": 339
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#AA2E8D
secondary
#71C384
accent
#E16B47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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