#AE40A2#AE40A2

#AE40A2 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.8% C 0.183 H 332.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AE40A2
RGBrgb(174, 64, 162)
HSLhsl(307, 46%, 47%)
HSVhsv(307, 63%, 68%)
CMYKcmyk(0%, 63.2%, 6.9%, 31.8%)
CIE-LABlab(46.01, 56.50, -31.08)
CIE-LCHlch(46.01, 64.48, 331.19°)
OKLaboklab(55.84% 0.162 -0.0851)
OKLCHoklch(55.84% 0.183 332.3)
XYZxyz(25.8105, 15.2760, 35.7646)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40A2 #40AE4C
analogous
#8340AE #AE40A2 #AE406B
triadic
#AE40A2 #A2AE40 #40A2AE
tetradic
#AE40A2 #AE8340 #40AE4C #406BAE
square
#AE40A2 #AE8340 #40AE4C #406BAE
split-complementary
#AE40A2 #6BAE40 #40AE83
monochromatic
#551F4F #813078 #AE40A2 #C665BC #D792CF

Accessibility & contrast

On white

5.18
#AE40A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AE40A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40A2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40A2#FFFFFF#000000##FFFFFF
##AE40A21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A5
Deuteranopia (green-blind)
#60739F
Tritanopia (blue-blind)
#B54A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ae40a2;
/* rgb */ color: rgb(174, 64, 162);
/* oklch */ color: oklch(55.8% 0.183 332.3);
Tailwind
colors: {
  custom: {
    50: '#c97cbe',
    500: '#ae40a2',
    950: '#000000',
  },
}
SCSS
$custom: #ae40a2;
$custom-light: #c97cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40a2",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 306.545,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.18298,
    "h": 332.3
  },
  "luminance": 0.15274
}

Semantic roles & 50–950 ramp

primary
#AE40A2
secondary
#88C28E
accent
#D66052
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AE40A2

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

Preview Lab → · Contrast checker → · Palette generator →

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