#AE2A87#AE2A87

#AE2A87 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.191 H 342.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AE2A87
RGBrgb(174, 42, 135)
HSLhsl(318, 61%, 42%)
HSVhsv(318, 76%, 68%)
CMYKcmyk(0%, 75.9%, 22.4%, 31.8%)
CIE-LABlab(41.85, 60.65, -21.26)
CIE-LCHlch(41.85, 64.27, 340.68°)
OKLaboklab(52.41% 0.1826 -0.057)
OKLCHoklch(52.41% 0.191 342.7)
XYZxyz(22.6575, 12.4062, 24.1184)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2A87 #2AAE51
analogous
#932AAE #AE2A87 #AE2A45
triadic
#AE2A87 #87AE2A #2A87AE
tetradic
#AE2A87 #AE932A #2AAE51 #2A45AE
square
#AE2A87 #AE932A #2AAE51 #2A45AE
split-complementary
#AE2A87 #45AE2A #2AAE93
monochromatic
#4B123B #7D1E61 #AE2A87 #D243A8 #DE75BF

Accessibility & contrast

On white

6.03
#AE2A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AE2A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2A87
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2A87#FFFFFF#000000##FFFFFF
##AE2A871.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385589
Deuteranopia (green-blind)
#616B84
Tritanopia (blue-blind)
#B92B55
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae2a87;
/* rgb */ color: rgb(174, 42, 135);
/* oklch */ color: oklch(52.4% 0.191 342.7);
Tailwind
colors: {
  custom: {
    50: '#ca71aa',
    500: '#ae2a87',
    950: '#000000',
  },
}
SCSS
$custom: #ae2a87;
$custom-light: #ca71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2a87",
  "rgb": {
    "r": 174,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 317.727,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52412,
    "c": 0.19127,
    "h": 342.7
  },
  "luminance": 0.12404
}

Semantic roles & 50–950 ramp

primary
#AE2A87
secondary
#6FC588
accent
#E47344
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE2A87

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

Preview Lab → · Contrast checker → · Palette generator →

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