#AA289A#AA289A

#AA289A is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.204 H 333.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AA289A
RGBrgb(170, 40, 154)
HSLhsl(307, 62%, 41%)
HSVhsv(307, 76%, 67%)
CMYKcmyk(0%, 76.5%, 9.4%, 33.3%)
CIE-LABlab(41.84, 63.02, -32.88)
CIE-LCHlch(41.84, 71.08, 332.45°)
OKLaboklab(52.57% 0.1827 -0.0902)
OKLCHoklch(52.57% 0.204 333.7)
XYZxyz(23.1693, 12.3987, 31.7385)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA289A #28AA38
analogous
#7928AA #AA289A #AA2859
triadic
#AA289A #9AAA28 #289AAA
tetradic
#AA289A #AA7928 #28AA38 #2859AA
square
#AA289A #AA7928 #28AA38 #2859AA
split-complementary
#AA289A #59AA28 #28AA79
monochromatic
#471140 #781C6D #AA289A #D23EBF #DD6FD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA289A#FFFFFF#000000##FFFFFF
##AA289A1.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)
#24579D
Deuteranopia (green-blind)
#566997
Tritanopia (blue-blind)
#B2355F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa289a;
/* rgb */ color: rgb(170, 40, 154);
/* oklch */ color: oklch(52.6% 0.204 333.7);
Tailwind
colors: {
  custom: {
    50: '#c771b8',
    500: '#aa289a',
    950: '#000000',
  },
}
SCSS
$custom: #aa289a;
$custom-light: #c771b8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa289a",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 307.385,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.20371,
    "h": 333.7
  },
  "luminance": 0.12397
}

Semantic roles & 50–950 ramp

primary
#AA289A
secondary
#6AC475
accent
#E55743
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA289A

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

Preview Lab → · Contrast checker → · Palette generator →

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