#AA1B9C#AA1B9C

#AA1B9C is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.216 H 332.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AA1B9C
RGBrgb(170, 27, 156)
HSLhsl(306, 73%, 39%)
HSVhsv(306, 84%, 67%)
CMYKcmyk(0%, 84.1%, 8.2%, 33.3%)
CIE-LABlab(40.79, 66.67, -35.75)
CIE-LCHlch(40.79, 75.65, 331.80°)
OKLaboklab(51.85% 0.1926 -0.0984)
OKLCHoklch(51.85% 0.216 332.9)
XYZxyz(22.9704, 11.7323, 32.5008)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1B9C #1BAA29
analogous
#701BAA #AA1B9C #AA1B54
triadic
#AA1B9C #9CAA1B #1B9CAA
tetradic
#AA1B9C #AA701B #1BAA29 #1B54AA
square
#AA1B9C #AA701B #1BAA29 #1B54AA
split-complementary
#AA1B9C #54AA1B #1BAA70
monochromatic
#400A3B #75136C #AA1B9C #DC26CB #E55BD7

Accessibility & contrast

On white

6.28
#AA1B9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AA1B9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1B9C
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1B9C#FFFFFF#000000##FFFFFF
##AA1B9C1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F549F
Deuteranopia (green-blind)
#516799
Tritanopia (blue-blind)
#B22E5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa1b9c;
/* rgb */ color: rgb(170, 27, 156);
/* oklch */ color: oklch(51.8% 0.216 332.9);
Tailwind
colors: {
  custom: {
    50: '#c76cb9',
    500: '#aa1b9c',
    950: '#000000',
  },
}
SCSS
$custom: #aa1b9c;
$custom-light: #c76cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1b9c",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 156
  },
  "hsl": {
    "h": 305.874,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51847,
    "c": 0.21624,
    "h": 332.9
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#AA1B9C
secondary
#58C963
accent
#EF4A39
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA1B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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