#AE229A#AE229A

#AE229A is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.211 H 335.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AE229A
RGBrgb(174, 34, 154)
HSLhsl(309, 67%, 41%)
HSVhsv(309, 80%, 68%)
CMYKcmyk(0%, 80.5%, 11.5%, 31.8%)
CIE-LABlab(41.97, 65.56, -32.64)
CIE-LCHlch(41.97, 73.24, 333.54°)
OKLaboklab(52.79% 0.1915 -0.0893)
OKLCHoklch(52.79% 0.211 335)
XYZxyz(23.8607, 12.4780, 31.7174)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE229A #22AE36
analogous
#7C22AE #AE229A #AE2254
triadic
#AE229A #9AAE22 #229AAE
tetradic
#AE229A #AE7C22 #22AE36 #2254AE
square
#AE229A #AE7C22 #22AE36 #2254AE
split-complementary
#AE229A #54AE22 #22AE7C
monochromatic
#480E3F #7B186D #AE229A #D836C0 #E269D0

Accessibility & contrast

On white

6.01
#AE229A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AE229A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE229A
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE229A#FFFFFF#000000##FFFFFF
##AE229A1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569D
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#B7305E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae229a;
/* rgb */ color: rgb(174, 34, 154);
/* oklch */ color: oklch(52.8% 0.211 335.0);
Tailwind
colors: {
  custom: {
    50: '#ca6fb8',
    500: '#ae229a',
    950: '#000000',
  },
}
SCSS
$custom: #ae229a;
$custom-light: #ca6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ae229a",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 308.571,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.21135,
    "h": 335
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#AE229A
secondary
#64C773
accent
#EA563E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AE229A

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

Preview Lab → · Contrast checker → · Palette generator →

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