#AE28A2#AE28A2

#AE28A2 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.211 H 332.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AE28A2
RGBrgb(174, 40, 162)
HSLhsl(305, 63%, 42%)
HSVhsv(305, 77%, 68%)
CMYKcmyk(0%, 77%, 6.9%, 31.8%)
CIE-LABlab(42.95, 65.12, -35.89)
CIE-LCHlch(42.95, 74.35, 331.14°)
OKLaboklab(53.63% 0.187 -0.0988)
OKLCHoklch(53.63% 0.212 332.2)
XYZxyz(24.7360, 13.1270, 35.4064)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE28A2 #28AE34
analogous
#7728AE #AE28A2 #AE285F
triadic
#AE28A2 #A2AE28 #28A2AE
tetradic
#AE28A2 #AE7728 #28AE34 #285FAE
square
#AE28A2 #AE7728 #28AE34 #285FAE
split-complementary
#AE28A2 #5FAE28 #28AE77
monochromatic
#4A1145 #7C1D74 #AE28A2 #D340C6 #DF72D5

Accessibility & contrast

On white

5.79
#AE28A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AE28A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE28A2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE28A2#FFFFFF#000000##FFFFFF
##AE28A21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A5
Deuteranopia (green-blind)
#556C9F
Tritanopia (blue-blind)
#B63864
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae28a2;
/* rgb */ color: rgb(174, 40, 162);
/* oklch */ color: oklch(53.6% 0.211 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca72be',
    500: '#ae28a2',
    950: '#000000',
  },
}
SCSS
$custom: #ae28a2;
$custom-light: #ca72be;
$custom-dark: #000000;
JSON
{
  "hex": "#ae28a2",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 305.373,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53629,
    "c": 0.2115,
    "h": 332.2
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#AE28A2
secondary
#6CC674
accent
#E65142
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE28A2

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

Preview Lab → · Contrast checker → · Palette generator →

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