#AA1BA3#AA1BA3

#AA1BA3 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.3% C 0.221 H 330.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AA1BA3
RGBrgb(170, 27, 163)
HSLhsl(303, 73%, 39%)
HSVhsv(303, 84%, 67%)
CMYKcmyk(0%, 84.1%, 4.1%, 33.3%)
CIE-LABlab(41.18, 67.72, -39.34)
CIE-LCHlch(41.18, 78.32, 329.84°)
OKLaboklab(52.25% 0.1925 -0.1088)
OKLCHoklch(52.25% 0.221 330.5)
XYZxyz(23.5803, 11.9762, 35.7129)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1BA3 #1BAA22
analogous
#691BAA #AA1BA3 #AA1B5B
triadic
#AA1BA3 #A3AA1B #1BA3AA
tetradic
#AA1BA3 #AA691B #1BAA22 #1B5BAA
square
#AA1BA3 #AA691B #1BAA22 #1B5BAA
split-complementary
#AA1BA3 #5BAA1B #1BAA69
monochromatic
#400A3E #751370 #AA1BA3 #DC26D4 #E55BDE

Accessibility & contrast

On white

6.19
#AA1BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA1BA3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1BA3#FFFFFF#000000##FFFFFF
##AA1BA31.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#4D68A0
Tritanopia (blue-blind)
#B13361
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa1ba3;
/* rgb */ color: rgb(170, 27, 163);
/* oklch */ color: oklch(52.3% 0.221 330.5);
Tailwind
colors: {
  custom: {
    50: '#c86dbf',
    500: '#aa1ba3',
    950: '#000000',
  },
}
SCSS
$custom: #aa1ba3;
$custom-light: #c86dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1ba3",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 163
  },
  "hsl": {
    "h": 302.937,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.22111,
    "h": 330.5
  },
  "luminance": 0.11974
}

Semantic roles & 50–950 ramp

primary
#AA1BA3
secondary
#58C95E
accent
#EF4139
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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