#AE28A0#AE28A0

#AE28A0 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.210 H 332.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AE28A0
RGBrgb(174, 40, 160)
HSLhsl(306, 63%, 42%)
HSVhsv(306, 77%, 68%)
CMYKcmyk(0%, 77%, 8%, 31.8%)
CIE-LABlab(42.85, 64.81, -34.86)
CIE-LCHlch(42.85, 73.59, 331.73°)
OKLaboklab(53.52% 0.187 -0.0958)
OKLCHoklch(53.52% 0.21 332.9)
XYZxyz(24.5597, 13.0564, 34.4775)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE28A0 #28AE36
analogous
#7928AE #AE28A0 #AE285D
triadic
#AE28A0 #A0AE28 #28A0AE
tetradic
#AE28A0 #AE7928 #28AE36 #285DAE
square
#AE28A0 #AE7928 #28AE36 #285DAE
split-complementary
#AE28A0 #5DAE28 #28AE79
monochromatic
#4A1144 #7C1D72 #AE28A0 #D340C4 #DF72D3

Accessibility & contrast

On white

5.82
#AE28A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AE28A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE28A0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE28A0#FFFFFF#000000##FFFFFF
##AE28A01.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A3
Deuteranopia (green-blind)
#566C9D
Tritanopia (blue-blind)
#B63763
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae28a0;
/* rgb */ color: rgb(174, 40, 160);
/* oklch */ color: oklch(53.5% 0.210 332.9);
Tailwind
colors: {
  custom: {
    50: '#ca71bc',
    500: '#ae28a0',
    950: '#000000',
  },
}
SCSS
$custom: #ae28a0;
$custom-light: #ca71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae28a0",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 306.269,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.21007,
    "h": 332.9
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#AE28A0
secondary
#6CC676
accent
#E65342
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE28A0

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

Preview Lab → · Contrast checker → · Palette generator →

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