#AE2F97#AE2F97

#AE2F97 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.196 H 336.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AE2F97
RGBrgb(174, 47, 151)
HSLhsl(311, 57%, 43%)
HSVhsv(311, 73%, 68%)
CMYKcmyk(0%, 73%, 13.2%, 31.8%)
CIE-LABlab(43.16, 61.27, -28.95)
CIE-LCHlch(43.16, 67.76, 334.71°)
OKLaboklab(53.6% 0.1798 -0.0788)
OKLCHoklch(53.6% 0.196 336.3)
XYZxyz(24.0584, 13.2682, 30.5661)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F97 #2FAE46
analogous
#852FAE #AE2F97 #AE2F57
triadic
#AE2F97 #97AE2F #2F97AE
tetradic
#AE2F97 #AE852F #2FAE46 #2F57AE
square
#AE2F97 #AE852F #2FAE46 #2F57AE
split-complementary
#AE2F97 #57AE2F #2FAE85
monochromatic
#4E1543 #7E226D #AE2F97 #CF4CB7 #DC7CCA

Accessibility & contrast

On white

5.75
#AE2F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AE2F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F97
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F97#FFFFFF#000000##FFFFFF
##AE2F971.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#5D6D94
Tritanopia (blue-blind)
#B73860
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae2f97;
/* rgb */ color: rgb(174, 47, 151);
/* oklch */ color: oklch(53.6% 0.196 336.3);
Tailwind
colors: {
  custom: {
    50: '#ca74b6',
    500: '#ae2f97',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f97;
$custom-light: #ca74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f97",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 310.866,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.536,
    "c": 0.19636,
    "h": 336.3
  },
  "luminance": 0.13266
}

Semantic roles & 50–950 ramp

primary
#AE2F97
secondary
#75C483
accent
#E16347
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE2F97

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

Preview Lab → · Contrast checker → · Palette generator →

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