#AE2D87#AE2D87

#AE2D87 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.188 H 342.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AE2D87
RGBrgb(174, 45, 135)
HSLhsl(318, 59%, 43%)
HSVhsv(318, 74%, 68%)
CMYKcmyk(0%, 74.1%, 22.4%, 31.8%)
CIE-LABlab(42.20, 59.68, -20.74)
CIE-LCHlch(42.20, 63.18, 340.84°)
OKLaboklab(52.66% 0.1796 -0.0555)
OKLCHoklch(52.66% 0.188 342.8)
XYZxyz(22.7679, 12.6271, 24.1552)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2D87 #2DAE54
analogous
#952DAE #AE2D87 #AE2D46
triadic
#AE2D87 #87AE2D #2D87AE
tetradic
#AE2D87 #AE952D #2DAE54 #2D46AE
square
#AE2D87 #AE952D #2DAE54 #2D46AE
split-complementary
#AE2D87 #46AE2D #2DAE95
monochromatic
#4D143C #7D2061 #AE2D87 #D048A7 #DC79BE

Accessibility & contrast

On white

5.96
#AE2D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE2D87
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2D87#FFFFFF#000000##FFFFFF
##AE2D871.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5689
Deuteranopia (green-blind)
#626B84
Tritanopia (blue-blind)
#B92E56
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae2d87;
/* rgb */ color: rgb(174, 45, 135);
/* oklch */ color: oklch(52.7% 0.188 342.8);
Tailwind
colors: {
  custom: {
    50: '#ca72aa',
    500: '#ae2d87',
    950: '#000000',
  },
}
SCSS
$custom: #ae2d87;
$custom-light: #ca72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2d87",
  "rgb": {
    "r": 174,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 318.14,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52659,
    "c": 0.188,
    "h": 342.8
  },
  "luminance": 0.12625
}

Semantic roles & 50–950 ramp

primary
#AE2D87
secondary
#72C48B
accent
#E27546
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE2D87

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

Preview Lab → · Contrast checker → · Palette generator →

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