#AE2F86#AE2F86

#AE2F86 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.185 H 343.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AE2F86
RGBrgb(174, 47, 134)
HSLhsl(319, 57%, 43%)
HSVhsv(319, 73%, 68%)
CMYKcmyk(0%, 73%, 23%, 31.8%)
CIE-LABlab(42.39, 58.87, -19.82)
CIE-LCHlch(42.39, 62.12, 341.39°)
OKLaboklab(52.79% 0.1774 -0.053)
OKLCHoklch(52.79% 0.185 343.4)
XYZxyz(22.7760, 12.7553, 23.8122)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F86 #2FAE57
analogous
#962FAE #AE2F86 #AE2F46
triadic
#AE2F86 #86AE2F #2F86AE
tetradic
#AE2F86 #AE962F #2FAE57 #2F46AE
square
#AE2F86 #AE962F #2FAE57 #2F46AE
split-complementary
#AE2F86 #46AE2F #2FAE96
monochromatic
#4E153C #7E2261 #AE2F86 #CF4CA5 #DC7CBD

Accessibility & contrast

On white

5.91
#AE2F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AE2F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F86
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F86#FFFFFF#000000##FFFFFF
##AE2F861.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5788
Deuteranopia (green-blind)
#636C83
Tritanopia (blue-blind)
#B92F56
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae2f86;
/* rgb */ color: rgb(174, 47, 134);
/* oklch */ color: oklch(52.8% 0.185 343.4);
Tailwind
colors: {
  custom: {
    50: '#ca73a9',
    500: '#ae2f86',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f86;
$custom-light: #ca73a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f86",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 318.898,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52788,
    "c": 0.18511,
    "h": 343.4
  },
  "luminance": 0.12753
}

Semantic roles & 50–950 ramp

primary
#AE2F86
secondary
#75C48E
accent
#E17747
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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