#AA2A8B#AA2A8B

#AA2A8B is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.191 H 339.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AA2A8B
RGBrgb(170, 42, 139)
HSLhsl(315, 60%, 42%)
HSVhsv(315, 75%, 67%)
CMYKcmyk(0%, 75.3%, 18.2%, 33.3%)
CIE-LABlab(41.32, 60.22, -24.59)
CIE-LCHlch(41.32, 65.04, 337.79°)
OKLaboklab(51.95% 0.1794 -0.0665)
OKLCHoklch(51.95% 0.191 339.7)
XYZxyz(22.0663, 12.0682, 25.5884)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A8B #2AAA49
analogous
#892AAA #AA2A8B #AA2A4B
triadic
#AA2A8B #8BAA2A #2A8BAA
tetradic
#AA2A8B #AA892A #2AAA49 #2A4BAA
square
#AA2A8B #AA892A #2AAA49 #2A4BAA
split-complementary
#AA2A8B #4BAA2A #2AAA89
monochromatic
#48123B #791E63 #AA2A8B #D041AD #DC72C3

Accessibility & contrast

On white

6.15
#AA2A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AA2A8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A8B
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A8B#FFFFFF#000000##FFFFFF
##AA2A8B1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558E
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#B42F57
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2a8b;
/* rgb */ color: rgb(170, 42, 139);
/* oklch */ color: oklch(52.0% 0.191 339.7);
Tailwind
colors: {
  custom: {
    50: '#c771ad',
    500: '#aa2a8b',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a8b;
$custom-light: #c771ad;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a8b",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 314.531,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51954,
    "c": 0.19132,
    "h": 339.7
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#AA2A8B
secondary
#6CC381
accent
#E46B44
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA2A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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