#AA2A88#AA2A88

#AA2A88 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.189 H 340.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AA2A88
RGBrgb(170, 42, 136)
HSLhsl(316, 60%, 42%)
HSVhsv(316, 75%, 67%)
CMYKcmyk(0%, 75.3%, 20%, 33.3%)
CIE-LABlab(41.19, 59.80, -22.96)
CIE-LCHlch(41.19, 64.06, 338.99°)
OKLaboklab(51.81% 0.179 -0.0619)
OKLCHoklch(51.81% 0.189 340.9)
XYZxyz(21.8501, 11.9818, 24.4498)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A88 #2AAA4C
analogous
#8C2AAA #AA2A88 #AA2A48
triadic
#AA2A88 #88AA2A #2A88AA
tetradic
#AA2A88 #AA8C2A #2AAA4C #2A48AA
square
#AA2A88 #AA8C2A #2AAA4C #2A48AA
split-complementary
#AA2A88 #48AA2A #2AAA8C
monochromatic
#481239 #791E61 #AA2A88 #D041AA #DC72C0

Accessibility & contrast

On white

6.18
#AA2A88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AA2A88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A88
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A88#FFFFFF#000000##FFFFFF
##AA2A881.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548B
Deuteranopia (green-blind)
#5E6885
Tritanopia (blue-blind)
#B42D56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2a88;
/* rgb */ color: rgb(170, 42, 136);
/* oklch */ color: oklch(51.8% 0.189 340.9);
Tailwind
colors: {
  custom: {
    50: '#c771ab',
    500: '#aa2a88',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a88;
$custom-light: #c771ab;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a88",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 315.938,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5181,
    "c": 0.18937,
    "h": 340.9
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#AA2A88
secondary
#6CC383
accent
#E46F44
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA2A88

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

Preview Lab → · Contrast checker → · Palette generator →

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