#AA229C#AA229C

#AA229C is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.211 H 333.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AA229C
RGBrgb(170, 34, 156)
HSLhsl(306, 67%, 40%)
HSVhsv(306, 80%, 67%)
CMYKcmyk(0%, 80%, 8.2%, 33.3%)
CIE-LABlab(41.36, 65.00, -34.84)
CIE-LCHlch(41.36, 73.75, 331.81°)
OKLaboklab(52.26% 0.1877 -0.0958)
OKLCHoklch(52.26% 0.211 333)
XYZxyz(23.1505, 12.0924, 32.5608)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA229C #22AA30
analogous
#7422AA #AA229C #AA2258
triadic
#AA229C #9CAA22 #229CAA
tetradic
#AA229C #AA7422 #22AA30 #2258AA
square
#AA229C #AA7422 #22AA30 #2258AA
split-complementary
#AA229C #58AA22 #22AA74
monochromatic
#440E3E #77186D #AA229C #D633C5 #E066D4

Accessibility & contrast

On white

6.14
#AA229C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AA229C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA229C
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA229C#FFFFFF#000000##FFFFFF
##AA229C1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19559F
Deuteranopia (green-blind)
#536899
Tritanopia (blue-blind)
#B2325F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa229c;
/* rgb */ color: rgb(170, 34, 156);
/* oklch */ color: oklch(52.3% 0.211 333.0);
Tailwind
colors: {
  custom: {
    50: '#c76fb9',
    500: '#aa229c',
    950: '#000000',
  },
}
SCSS
$custom: #aa229c;
$custom-light: #c76fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa229c",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 306.176,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.21072,
    "h": 333
  },
  "luminance": 0.1209
}

Semantic roles & 50–950 ramp

primary
#AA229C
secondary
#62C66C
accent
#EA503E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA229C

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

Preview Lab → · Contrast checker → · Palette generator →

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