#AE2F8A#AE2F8A

#AE2F8A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.188 H 341.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AE2F8A
RGBrgb(174, 47, 138)
HSLhsl(317, 57%, 43%)
HSVhsv(317, 73%, 68%)
CMYKcmyk(0%, 73%, 20.7%, 31.8%)
CIE-LABlab(42.57, 59.41, -22.00)
CIE-LCHlch(42.57, 63.35, 339.68°)
OKLaboklab(52.97% 0.1781 -0.0591)
OKLCHoklch(52.97% 0.188 341.6)
XYZxyz(23.0603, 12.8690, 25.3093)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F8A #2FAE53
analogous
#922FAE #AE2F8A #AE2F4A
triadic
#AE2F8A #8AAE2F #2F8AAE
tetradic
#AE2F8A #AE922F #2FAE53 #2F4AAE
square
#AE2F8A #AE922F #2FAE53 #2F4AAE
split-complementary
#AE2F8A #4AAE2F #2FAE92
monochromatic
#4E153E #7E2264 #AE2F8A #CF4CA9 #DC7CC0

Accessibility & contrast

On white

5.88
#AE2F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AE2F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F8A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F8A#FFFFFF#000000##FFFFFF
##AE2F8A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578D
Deuteranopia (green-blind)
#626C87
Tritanopia (blue-blind)
#B93159
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae2f8a;
/* rgb */ color: rgb(174, 47, 138);
/* oklch */ color: oklch(53.0% 0.188 341.6);
Tailwind
colors: {
  custom: {
    50: '#ca73ac',
    500: '#ae2f8a',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f8a;
$custom-light: #ca73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f8a",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 317.008,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.18762,
    "h": 341.6
  },
  "luminance": 0.12867
}

Semantic roles & 50–950 ramp

primary
#AE2F8A
secondary
#75C48B
accent
#E17347
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE2F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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