#AA1B9E#AA1B9E

#AA1B9E is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.0% C 0.218 H 332.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AA1B9E
RGBrgb(170, 27, 158)
HSLhsl(305, 73%, 39%)
HSVhsv(305, 84%, 67%)
CMYKcmyk(0%, 84.1%, 7.1%, 33.3%)
CIE-LABlab(40.90, 66.97, -36.78)
CIE-LCHlch(40.90, 76.40, 331.22°)
OKLaboklab(51.96% 0.1926 -0.1014)
OKLCHoklch(51.96% 0.218 332.2)
XYZxyz(23.1412, 11.8006, 33.4001)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1B9E #1BAA27
analogous
#6E1BAA #AA1B9E #AA1B56
triadic
#AA1B9E #9EAA1B #1B9EAA
tetradic
#AA1B9E #AA6E1B #1BAA27 #1B56AA
square
#AA1B9E #AA6E1B #1BAA27 #1B56AA
split-complementary
#AA1B9E #56AA1B #1BAA6E
monochromatic
#400A3C #75136D #AA1B9E #DC26CD #E55BD9

Accessibility & contrast

On white

6.25
#AA1B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AA1B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1B9E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1B9E#FFFFFF#000000##FFFFFF
##AA1B9E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0954A1
Deuteranopia (green-blind)
#4F679B
Tritanopia (blue-blind)
#B2305F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa1b9e;
/* rgb */ color: rgb(170, 27, 158);
/* oklch */ color: oklch(52.0% 0.218 332.2);
Tailwind
colors: {
  custom: {
    50: '#c76cbb',
    500: '#aa1b9e',
    950: '#000000',
  },
}
SCSS
$custom: #aa1b9e;
$custom-light: #c76cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1b9e",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 305.035,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5196,
    "c": 0.21762,
    "h": 332.2
  },
  "luminance": 0.11799
}

Semantic roles & 50–950 ramp

primary
#AA1B9E
secondary
#58C962
accent
#EF4839
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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