#AA229F#AA229F

#AA229F is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.213 H 331.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AA229F
RGBrgb(170, 34, 159)
HSLhsl(305, 67%, 40%)
HSVhsv(305, 80%, 67%)
CMYKcmyk(0%, 80%, 6.5%, 33.3%)
CIE-LABlab(41.52, 65.46, -36.39)
CIE-LCHlch(41.52, 74.89, 330.93°)
OKLaboklab(52.43% 0.1877 -0.1003)
OKLCHoklch(52.43% 0.213 331.9)
XYZxyz(23.4077, 12.1953, 33.9153)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA229F #22AA2D
analogous
#7122AA #AA229F #AA225B
triadic
#AA229F #9FAA22 #229FAA
tetradic
#AA229F #AA7122 #22AA2D #225BAA
square
#AA229F #AA7122 #22AA2D #225BAA
split-complementary
#AA229F #5BAA22 #22AA71
monochromatic
#440E40 #77186F #AA229F #D633C9 #E066D7

Accessibility & contrast

On white

6.11
#AA229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AA229F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA229F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA229F#FFFFFF#000000##FFFFFF
##AA229F1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1456A2
Deuteranopia (green-blind)
#51689C
Tritanopia (blue-blind)
#B13461
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa229f;
/* rgb */ color: rgb(170, 34, 159);
/* oklch */ color: oklch(52.4% 0.213 331.9);
Tailwind
colors: {
  custom: {
    50: '#c76fbc',
    500: '#aa229f',
    950: '#000000',
  },
}
SCSS
$custom: #aa229f;
$custom-light: #c76fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa229f",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 304.853,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.52425,
    "c": 0.21284,
    "h": 331.9
  },
  "luminance": 0.12193
}

Semantic roles & 50–950 ramp

primary
#AA229F
secondary
#62C66A
accent
#EA4C3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA229F

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

Preview Lab → · Contrast checker → · Palette generator →

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