#AE2F87#AE2F87

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

Color values

HEX#AE2F87
RGBrgb(174, 47, 135)
HSLhsl(318, 57%, 43%)
HSVhsv(318, 73%, 68%)
CMYKcmyk(0%, 73%, 22.4%, 31.8%)
CIE-LABlab(42.43, 59.01, -20.37)
CIE-LCHlch(42.43, 62.42, 340.96°)
OKLaboklab(52.83% 0.1775 -0.0545)
OKLCHoklch(52.83% 0.186 342.9)
XYZxyz(22.8461, 12.7833, 24.1812)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F87 #2FAE56
analogous
#952FAE #AE2F87 #AE2F47
triadic
#AE2F87 #87AE2F #2F87AE
tetradic
#AE2F87 #AE952F #2FAE56 #2F47AE
square
#AE2F87 #AE952F #2FAE56 #2F47AE
split-complementary
#AE2F87 #47AE2F #2FAE95
monochromatic
#4E153C #7E2262 #AE2F87 #CF4CA6 #DC7CBE

Accessibility & contrast

On white

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

On black

3.56
#AE2F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AE2F87#FFFFFF#000000##FFFFFF
##AE2F871.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5789
Deuteranopia (green-blind)
#636C84
Tritanopia (blue-blind)
#B93057
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae2f87;
/* rgb */ color: rgb(174, 47, 135);
/* oklch */ color: oklch(52.8% 0.186 342.9);
Tailwind
colors: {
  custom: {
    50: '#ca73aa',
    500: '#ae2f87',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f87;
$custom-light: #ca73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f87",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 318.425,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52833,
    "c": 0.18573,
    "h": 342.9
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

primary
#AE2F87
secondary
#75C48D
accent
#E17647
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE2F87

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

Preview Lab → · Contrast checker → · Palette generator →

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