#AE2F96#AE2F96

#AE2F96 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.196 H 336.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AE2F96
RGBrgb(174, 47, 150)
HSLhsl(311, 57%, 43%)
HSVhsv(311, 73%, 68%)
CMYKcmyk(0%, 73%, 13.8%, 31.8%)
CIE-LABlab(43.12, 61.12, -28.42)
CIE-LCHlch(43.12, 67.40, 335.06°)
OKLaboklab(53.55% 0.1797 -0.0773)
OKLCHoklch(53.55% 0.196 336.7)
XYZxyz(23.9775, 13.2359, 30.1402)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F96 #2FAE47
analogous
#862FAE #AE2F96 #AE2F56
triadic
#AE2F96 #96AE2F #2F96AE
tetradic
#AE2F96 #AE862F #2FAE47 #2F56AE
square
#AE2F96 #AE862F #2FAE47 #2F56AE
split-complementary
#AE2F96 #56AE2F #2FAE86
monochromatic
#4E1543 #7E226C #AE2F96 #CF4CB6 #DC7CC9

Accessibility & contrast

On white

5.76
#AE2F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE2F96
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F96#FFFFFF#000000##FFFFFF
##AE2F961.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A99
Deuteranopia (green-blind)
#5D6D93
Tritanopia (blue-blind)
#B7375F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae2f96;
/* rgb */ color: rgb(174, 47, 150);
/* oklch */ color: oklch(53.5% 0.196 336.7);
Tailwind
colors: {
  custom: {
    50: '#ca74b5',
    500: '#ae2f96',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f96;
$custom-light: #ca74b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f96",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 311.339,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53549,
    "c": 0.19566,
    "h": 336.7
  },
  "luminance": 0.13234
}

Semantic roles & 50–950 ramp

primary
#AE2F96
secondary
#75C484
accent
#E16447
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE2F96

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

Preview Lab → · Contrast checker → · Palette generator →

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