#AE2A8F#AE2A8F

#AE2A8F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.8% C 0.196 H 339.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AE2A8F
RGBrgb(174, 42, 143)
HSLhsl(314, 61%, 42%)
HSVhsv(314, 76%, 68%)
CMYKcmyk(0%, 75.9%, 17.8%, 31.8%)
CIE-LABlab(42.22, 61.74, -25.58)
CIE-LCHlch(42.22, 66.83, 337.49°)
OKLaboklab(52.79% 0.1838 -0.0692)
OKLCHoklch(52.79% 0.196 339.4)
XYZxyz(23.2421, 12.6401, 27.1970)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2A8F #2AAE49
analogous
#8B2AAE #AE2A8F #AE2A4D
triadic
#AE2A8F #8FAE2A #2A8FAE
tetradic
#AE2A8F #AE8B2A #2AAE49 #2A4DAE
square
#AE2A8F #AE8B2A #2AAE49 #2A4DAE
split-complementary
#AE2A8F #4DAE2A #2AAE8B
monochromatic
#4B123E #7D1E66 #AE2A8F #D243B0 #DE75C5

Accessibility & contrast

On white

5.95
#AE2A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AE2A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2A8F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2A8F#FFFFFF#000000##FFFFFF
##AE2A8F1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335692
Deuteranopia (green-blind)
#5E6B8C
Tritanopia (blue-blind)
#B82F5A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae2a8f;
/* rgb */ color: rgb(174, 42, 143);
/* oklch */ color: oklch(52.8% 0.196 339.4);
Tailwind
colors: {
  custom: {
    50: '#ca72b0',
    500: '#ae2a8f',
    950: '#000000',
  },
}
SCSS
$custom: #ae2a8f;
$custom-light: #ca72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2a8f",
  "rgb": {
    "r": 174,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 314.091,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52791,
    "c": 0.19637,
    "h": 339.4
  },
  "luminance": 0.12638
}

Semantic roles & 50–950 ramp

primary
#AE2A8F
secondary
#6FC583
accent
#E46944
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE2A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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