#AE2A97#AE2A97

#AE2A97 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.2% C 0.202 H 336.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AE2A97
RGBrgb(174, 42, 151)
HSLhsl(310, 61%, 42%)
HSVhsv(310, 76%, 68%)
CMYKcmyk(0%, 75.9%, 13.2%, 31.8%)
CIE-LABlab(42.60, 62.88, -29.83)
CIE-LCHlch(42.60, 69.59, 334.62°)
OKLaboklab(53.19% 0.1846 -0.0813)
OKLCHoklch(53.19% 0.202 336.2)
XYZxyz(23.8698, 12.8912, 30.5033)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2A97 #2AAE41
analogous
#832AAE #AE2A97 #AE2A55
triadic
#AE2A97 #97AE2A #2A97AE
tetradic
#AE2A97 #AE832A #2AAE41 #2A55AE
square
#AE2A97 #AE832A #2AAE41 #2A55AE
split-complementary
#AE2A97 #55AE2A #2AAE83
monochromatic
#4B1241 #7D1E6C #AE2A97 #D243B9 #DE75CB

Accessibility & contrast

On white

5.87
#AE2A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AE2A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2A97
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2A97#FFFFFF#000000##FFFFFF
##AE2A971.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#5B6C94
Tritanopia (blue-blind)
#B7345E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae2a97;
/* rgb */ color: rgb(174, 42, 151);
/* oklch */ color: oklch(53.2% 0.202 336.2);
Tailwind
colors: {
  custom: {
    50: '#ca72b6',
    500: '#ae2a97',
    950: '#000000',
  },
}
SCSS
$custom: #ae2a97;
$custom-light: #ca72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2a97",
  "rgb": {
    "r": 174,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 310.455,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.20176,
    "h": 336.2
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#AE2A97
secondary
#6FC57E
accent
#E46044
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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