#AE2A9F#AE2A9F

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

Color values

HEX#AE2A9F
RGBrgb(174, 42, 159)
HSLhsl(307, 61%, 42%)
HSVhsv(307, 76%, 68%)
CMYKcmyk(0%, 75.9%, 8.6%, 31.8%)
CIE-LABlab(43.00, 64.07, -34.01)
CIE-LCHlch(43.00, 72.53, 332.04°)
OKLaboklab(53.61% 0.1852 -0.0934)
OKLCHoklch(53.61% 0.207 333.2)
XYZxyz(24.5417, 13.1599, 34.0417)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2A9F #2AAE39
analogous
#7B2AAE #AE2A9F #AE2A5D
triadic
#AE2A9F #9FAE2A #2A9FAE
tetradic
#AE2A9F #AE7B2A #2AAE39 #2A5DAE
square
#AE2A9F #AE7B2A #2AAE39 #2A5DAE
split-complementary
#AE2A9F #5DAE2A #2AAE7B
monochromatic
#4B1245 #7D1E72 #AE2A9F #D243C2 #DE75D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE2A9F#FFFFFF#000000##FFFFFF
##AE2A9F1.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)
#245AA2
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#B63862
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae2a9f;
/* rgb */ color: rgb(174, 42, 159);
/* oklch */ color: oklch(53.6% 0.207 333.2);
Tailwind
colors: {
  custom: {
    50: '#ca72bc',
    500: '#ae2a9f',
    950: '#000000',
  },
}
SCSS
$custom: #ae2a9f;
$custom-light: #ca72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2a9f",
  "rgb": {
    "r": 174,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 306.818,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53614,
    "c": 0.20738,
    "h": 333.2
  },
  "luminance": 0.13158
}

Semantic roles & 50–950 ramp

primary
#AE2A9F
secondary
#6FC578
accent
#E45644
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE2A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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