#AE28A3#AE28A3

#AE28A3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.212 H 331.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AE28A3
RGBrgb(174, 40, 163)
HSLhsl(305, 63%, 42%)
HSVhsv(305, 77%, 68%)
CMYKcmyk(0%, 77%, 6.3%, 31.8%)
CIE-LABlab(43.01, 65.27, -36.40)
CIE-LCHlch(43.01, 74.73, 330.85°)
OKLaboklab(53.69% 0.1871 -0.1002)
OKLCHoklch(53.69% 0.212 331.8)
XYZxyz(24.8253, 13.1627, 35.8764)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE28A3 #28AE33
analogous
#7628AE #AE28A3 #AE2860
triadic
#AE28A3 #A3AE28 #28A3AE
tetradic
#AE28A3 #AE7628 #28AE33 #2860AE
square
#AE28A3 #AE7628 #28AE33 #2860AE
split-complementary
#AE28A3 #60AE28 #28AE76
monochromatic
#4A1146 #7C1D74 #AE28A3 #D340C7 #DF72D6

Accessibility & contrast

On white

5.78
#AE28A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE28A3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE28A3#FFFFFF#000000##FFFFFF
##AE28A31.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5AA6
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#B53964
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae28a3;
/* rgb */ color: rgb(174, 40, 163);
/* oklch */ color: oklch(53.7% 0.212 331.8);
Tailwind
colors: {
  custom: {
    50: '#ca72bf',
    500: '#ae28a3',
    950: '#000000',
  },
}
SCSS
$custom: #ae28a3;
$custom-light: #ca72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae28a3",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 304.925,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53685,
    "c": 0.21222,
    "h": 331.8
  },
  "luminance": 0.13161
}

Semantic roles & 50–950 ramp

primary
#AE28A3
secondary
#6CC673
accent
#E65042
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE28A3

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

Preview Lab → · Contrast checker → · Palette generator →

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