#AA1B9F#AA1B9F

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

Color values

HEX#AA1B9F
RGBrgb(170, 27, 159)
HSLhsl(305, 73%, 39%)
HSVhsv(305, 84%, 67%)
CMYKcmyk(0%, 84.1%, 6.5%, 33.3%)
CIE-LABlab(40.95, 67.12, -37.30)
CIE-LCHlch(40.95, 76.78, 330.94°)
OKLaboklab(52.02% 0.1926 -0.1029)
OKLCHoklch(52.02% 0.218 331.9)
XYZxyz(23.2276, 11.8351, 33.8552)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1B9F #1BAA26
analogous
#6D1BAA #AA1B9F #AA1B57
triadic
#AA1B9F #9FAA1B #1B9FAA
tetradic
#AA1B9F #AA6D1B #1BAA26 #1B57AA
square
#AA1B9F #AA6D1B #1BAA26 #1B57AA
split-complementary
#AA1B9F #57AA1B #1BAA6D
monochromatic
#400A3C #75136E #AA1B9F #DC26CE #E55BDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA1B9F#FFFFFF#000000##FFFFFF
##AA1B9F1.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)
#0654A2
Deuteranopia (green-blind)
#4F679C
Tritanopia (blue-blind)
#B1305F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa1b9f;
/* rgb */ color: rgb(170, 27, 159);
/* oklch */ color: oklch(52.0% 0.218 331.9);
Tailwind
colors: {
  custom: {
    50: '#c76dbc',
    500: '#aa1b9f',
    950: '#000000',
  },
}
SCSS
$custom: #aa1b9f;
$custom-light: #c76dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1b9f",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 304.615,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52018,
    "c": 0.21832,
    "h": 331.9
  },
  "luminance": 0.11833
}

Semantic roles & 50–950 ramp

primary
#AA1B9F
secondary
#58C961
accent
#EF4739
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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