#AA289F#AA289F

#AA289F is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.207 H 331.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AA289F
RGBrgb(170, 40, 159)
HSLhsl(305, 62%, 41%)
HSVhsv(305, 76%, 67%)
CMYKcmyk(0%, 76.5%, 6.5%, 33.3%)
CIE-LABlab(42.11, 63.78, -35.47)
CIE-LCHlch(42.11, 72.98, 330.92°)
OKLaboklab(52.84% 0.1829 -0.0976)
OKLCHoklch(52.84% 0.207 331.9)
XYZxyz(23.5944, 12.5688, 33.9775)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA289F #28AA33
analogous
#7428AA #AA289F #AA285E
triadic
#AA289F #9FAA28 #289FAA
tetradic
#AA289F #AA7428 #28AA33 #285EAA
square
#AA289F #AA7428 #28AA33 #285EAA
split-complementary
#AA289F #5EAA28 #28AA74
monochromatic
#471142 #781C71 #AA289F #D23EC5 #DD6FD4

Accessibility & contrast

On white

5.98
#AA289F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA289F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA289F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA289F#FFFFFF#000000##FFFFFF
##AA289F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#536A9C
Tritanopia (blue-blind)
#B13862
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa289f;
/* rgb */ color: rgb(170, 40, 159);
/* oklch */ color: oklch(52.8% 0.207 331.9);
Tailwind
colors: {
  custom: {
    50: '#c771bc',
    500: '#aa289f',
    950: '#000000',
  },
}
SCSS
$custom: #aa289f;
$custom-light: #c771bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa289f",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 305.077,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.20731,
    "h": 331.9
  },
  "luminance": 0.12567
}

Semantic roles & 50–950 ramp

primary
#AA289F
secondary
#6AC471
accent
#E55143
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA289F

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

Preview Lab → · Contrast checker → · Palette generator →

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