#AA2A9B#AA2A9B

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

Color values

HEX#AA2A9B
RGBrgb(170, 42, 155)
HSLhsl(307, 60%, 42%)
HSVhsv(307, 75%, 67%)
CMYKcmyk(0%, 75.3%, 8.8%, 33.3%)
CIE-LABlab(42.11, 62.56, -33.06)
CIE-LCHlch(42.11, 70.76, 332.14°)
OKLaboklab(52.77% 0.1809 -0.0907)
OKLCHoklch(52.77% 0.202 333.4)
XYZxyz(23.3221, 12.5705, 32.2020)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A9B #2AAA39
analogous
#792AAA #AA2A9B #AA2A5B
triadic
#AA2A9B #9BAA2A #2A9BAA
tetradic
#AA2A9B #AA792A #2AAA39 #2A5BAA
square
#AA2A9B #AA792A #2AAA39 #2A5BAA
split-complementary
#AA2A9B #5BAA2A #2AAA79
monochromatic
#481242 #791E6E #AA2A9B #D041BF #DC72D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA2A9B#FFFFFF#000000##FFFFFF
##AA2A9B1.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)
#25589E
Deuteranopia (green-blind)
#566A98
Tritanopia (blue-blind)
#B23760
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2a9b;
/* rgb */ color: rgb(170, 42, 155);
/* oklch */ color: oklch(52.8% 0.202 333.4);
Tailwind
colors: {
  custom: {
    50: '#c771b9',
    500: '#aa2a9b',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a9b;
$custom-light: #c771b9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a9b",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 307.031,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52774,
    "c": 0.20239,
    "h": 333.4
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#AA2A9B
secondary
#6CC377
accent
#E45744
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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