#AA1B99#AA1B99

#AA1B99 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.214 H 334.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AA1B99
RGBrgb(170, 27, 153)
HSLhsl(307, 73%, 39%)
HSVhsv(307, 84%, 67%)
CMYKcmyk(0%, 84.1%, 10%, 33.3%)
CIE-LABlab(40.63, 66.23, -34.20)
CIE-LCHlch(40.63, 74.54, 332.69°)
OKLaboklab(51.68% 0.1925 -0.0939)
OKLCHoklch(51.68% 0.214 334)
XYZxyz(22.7195, 11.6319, 31.1794)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1B99 #1BAA2C
analogous
#731BAA #AA1B99 #AA1B51
triadic
#AA1B99 #99AA1B #1B99AA
tetradic
#AA1B99 #AA731B #1BAA2C #1B51AA
square
#AA1B99 #AA731B #1BAA2C #1B51AA
split-complementary
#AA1B99 #51AA1B #1BAA73
monochromatic
#400A3A #751369 #AA1B99 #DC26C7 #E55BD4

Accessibility & contrast

On white

6.31
#AA1B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AA1B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1B99
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1B99#FFFFFF#000000##FFFFFF
##AA1B991.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15539C
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#B22C5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa1b99;
/* rgb */ color: rgb(170, 27, 153);
/* oklch */ color: oklch(51.7% 0.214 334.0);
Tailwind
colors: {
  custom: {
    50: '#c76cb7',
    500: '#aa1b99',
    950: '#000000',
  },
}
SCSS
$custom: #aa1b99;
$custom-light: #c76cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1b99",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 307.133,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.21421,
    "h": 334
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#AA1B99
secondary
#58C966
accent
#EF4E39
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA1B99

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

Preview Lab → · Contrast checker → · Palette generator →

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