#AA1D9C#AA1D9C

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

Color values

HEX#AA1D9C
RGBrgb(170, 29, 156)
HSLhsl(306, 71%, 39%)
HSVhsv(306, 83%, 67%)
CMYKcmyk(0%, 82.9%, 8.2%, 33.3%)
CIE-LABlab(40.94, 66.23, -35.51)
CIE-LCHlch(40.94, 75.15, 331.80°)
OKLaboklab(51.96% 0.1913 -0.0977)
OKLCHoklch(51.96% 0.215 332.9)
XYZxyz(23.0178, 11.8271, 32.5166)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1D9C #1DAA2B
analogous
#721DAA #AA1D9C #AA1D56
triadic
#AA1D9C #9CAA1D #1D9CAA
tetradic
#AA1D9C #AA721D #1DAA2B #1D56AA
square
#AA1D9C #AA721D #1DAA2B #1D56AA
split-complementary
#AA1D9C #56AA1D #1DAA72
monochromatic
#410B3C #76146C #AA1D9C #DB2AC9 #E45ED6

Accessibility & contrast

On white

6.24
#AA1D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AA1D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1D9C
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1D9C#FFFFFF#000000##FFFFFF
##AA1D9C1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12549F
Deuteranopia (green-blind)
#516799
Tritanopia (blue-blind)
#B22F5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa1d9c;
/* rgb */ color: rgb(170, 29, 156);
/* oklch */ color: oklch(52.0% 0.215 332.9);
Tailwind
colors: {
  custom: {
    50: '#c76db9',
    500: '#aa1d9c',
    950: '#000000',
  },
}
SCSS
$custom: #aa1d9c;
$custom-light: #c76db9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1d9c",
  "rgb": {
    "r": 170,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 305.957,
    "s": 70.854,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51955,
    "c": 0.21477,
    "h": 332.9
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#AA1D9C
secondary
#5BC866
accent
#EE4C3A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA1D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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