#AE2C87#AE2C87

#AE2C87 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.189 H 342.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AE2C87
RGBrgb(174, 44, 135)
HSLhsl(318, 60%, 43%)
HSVhsv(318, 75%, 68%)
CMYKcmyk(0%, 74.7%, 22.4%, 31.8%)
CIE-LABlab(42.08, 60.01, -20.91)
CIE-LCHlch(42.08, 63.55, 340.79°)
OKLaboklab(52.58% 0.1806 -0.056)
OKLCHoklch(52.58% 0.189 342.8)
XYZxyz(22.7302, 12.5517, 24.1426)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2C87 #2CAE53
analogous
#942CAE #AE2C87 #AE2C46
triadic
#AE2C87 #87AE2C #2C87AE
tetradic
#AE2C87 #AE942C #2CAE53 #2C46AE
square
#AE2C87 #AE942C #2CAE53 #2C46AE
split-complementary
#AE2C87 #46AE2C #2CAE94
monochromatic
#4C133B #7D2061 #AE2C87 #D047A7 #DD78BE

Accessibility & contrast

On white

5.98
#AE2C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AE2C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2C87
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2C87#FFFFFF#000000##FFFFFF
##AE2C871.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395689
Deuteranopia (green-blind)
#626B84
Tritanopia (blue-blind)
#B92D56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae2c87;
/* rgb */ color: rgb(174, 44, 135);
/* oklch */ color: oklch(52.6% 0.189 342.8);
Tailwind
colors: {
  custom: {
    50: '#ca72aa',
    500: '#ae2c87',
    950: '#000000',
  },
}
SCSS
$custom: #ae2c87;
$custom-light: #ca72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2c87",
  "rgb": {
    "r": 174,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 318,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52575,
    "c": 0.18911,
    "h": 342.8
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#AE2C87
secondary
#71C58A
accent
#E37445
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE2C87

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

Preview Lab → · Contrast checker → · Palette generator →

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