#AA1B9A#AA1B9A

#AA1B9A is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.215 H 333.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AA1B9A
RGBrgb(170, 27, 154)
HSLhsl(307, 73%, 39%)
HSVhsv(307, 84%, 67%)
CMYKcmyk(0%, 84.1%, 9.4%, 33.3%)
CIE-LABlab(40.68, 66.38, -34.72)
CIE-LCHlch(40.68, 74.91, 332.39°)
OKLaboklab(51.73% 0.1926 -0.0954)
OKLCHoklch(51.73% 0.215 333.6)
XYZxyz(22.8025, 11.6651, 31.6162)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1B9A #1BAA2B
analogous
#721BAA #AA1B9A #AA1B52
triadic
#AA1B9A #9AAA1B #1B9AAA
tetradic
#AA1B9A #AA721B #1BAA2B #1B52AA
square
#AA1B9A #AA721B #1BAA2B #1B52AA
split-complementary
#AA1B9A #52AA1B #1BAA72
monochromatic
#400A3A #75136A #AA1B9A #DC26C8 #E55BD5

Accessibility & contrast

On white

6.30
#AA1B9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AA1B9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1B9A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1B9A#FFFFFF#000000##FFFFFF
##AA1B9A1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13539D
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#B22D5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa1b9a;
/* rgb */ color: rgb(170, 27, 154);
/* oklch */ color: oklch(51.7% 0.215 333.6);
Tailwind
colors: {
  custom: {
    50: '#c76cb8',
    500: '#aa1b9a',
    950: '#000000',
  },
}
SCSS
$custom: #aa1b9a;
$custom-light: #c76cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1b9a",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 154
  },
  "hsl": {
    "h": 306.713,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.21488,
    "h": 333.6
  },
  "luminance": 0.11663
}

Semantic roles & 50–950 ramp

primary
#AA1B9A
secondary
#58C965
accent
#EF4D39
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA1B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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