#AA1D9F#AA1D9F

#AA1D9F is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.217 H 331.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AA1D9F
RGBrgb(170, 29, 159)
HSLhsl(305, 71%, 39%)
HSVhsv(305, 83%, 67%)
CMYKcmyk(0%, 82.9%, 6.5%, 33.3%)
CIE-LABlab(41.10, 66.67, -37.06)
CIE-LCHlch(41.10, 76.28, 330.93°)
OKLaboklab(52.13% 0.1913 -0.1022)
OKLCHoklch(52.13% 0.217 331.9)
XYZxyz(23.2750, 11.9300, 33.8711)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1D9F #1DAA28
analogous
#6F1DAA #AA1D9F #AA1D59
triadic
#AA1D9F #9FAA1D #1D9FAA
tetradic
#AA1D9F #AA6F1D #1DAA28 #1D59AA
square
#AA1D9F #AA6F1D #1DAA28 #1D59AA
split-complementary
#AA1D9F #59AA1D #1DAA6F
monochromatic
#410B3D #76146E #AA1D9F #DB2ACD #E45ED9

Accessibility & contrast

On white

6.20
#AA1D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AA1D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1D9F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1D9F#FFFFFF#000000##FFFFFF
##AA1D9F1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A55A2
Deuteranopia (green-blind)
#4F689C
Tritanopia (blue-blind)
#B13160
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa1d9f;
/* rgb */ color: rgb(170, 29, 159);
/* oklch */ color: oklch(52.1% 0.217 331.9);
Tailwind
colors: {
  custom: {
    50: '#c76dbc',
    500: '#aa1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #aa1d9f;
$custom-light: #c76dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1d9f",
  "rgb": {
    "r": 170,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 304.681,
    "s": 70.854,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.21686,
    "h": 331.9
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#AA1D9F
secondary
#5BC864
accent
#EE483A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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