#AA229B#AA229B

#AA229B is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.210 H 333.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AA229B
RGBrgb(170, 34, 155)
HSLhsl(307, 67%, 40%)
HSVhsv(307, 80%, 67%)
CMYKcmyk(0%, 80%, 8.8%, 33.3%)
CIE-LABlab(41.31, 64.85, -34.32)
CIE-LCHlch(41.31, 73.38, 332.11°)
OKLaboklab(52.2% 0.1877 -0.0943)
OKLCHoklch(52.2% 0.21 333.3)
XYZxyz(23.0662, 12.0587, 32.1167)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA229B #22AA31
analogous
#7522AA #AA229B #AA2257
triadic
#AA229B #9BAA22 #229BAA
tetradic
#AA229B #AA7522 #22AA31 #2257AA
square
#AA229B #AA7522 #22AA31 #2257AA
split-complementary
#AA229B #57AA22 #22AA75
monochromatic
#440E3E #77186C #AA229B #D633C4 #E066D3

Accessibility & contrast

On white

6.16
#AA229B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AA229B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA229B
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA229B#FFFFFF#000000##FFFFFF
##AA229B1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B559E
Deuteranopia (green-blind)
#536898
Tritanopia (blue-blind)
#B2325E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa229b;
/* rgb */ color: rgb(170, 34, 155);
/* oklch */ color: oklch(52.2% 0.210 333.3);
Tailwind
colors: {
  custom: {
    50: '#c76fb9',
    500: '#aa229b',
    950: '#000000',
  },
}
SCSS
$custom: #aa229b;
$custom-light: #c76fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa229b",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 306.618,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.21002,
    "h": 333.3
  },
  "luminance": 0.12057
}

Semantic roles & 50–950 ramp

primary
#AA229B
secondary
#62C66D
accent
#EA513E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA229B

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

Preview Lab → · Contrast checker → · Palette generator →

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