#AE2A8E#AE2A8E

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

Color values

HEX#AE2A8E
RGBrgb(174, 42, 142)
HSLhsl(315, 61%, 42%)
HSVhsv(315, 76%, 68%)
CMYKcmyk(0%, 75.9%, 18.4%, 31.8%)
CIE-LABlab(42.17, 61.60, -25.05)
CIE-LCHlch(42.17, 66.50, 337.87°)
OKLaboklab(52.74% 0.1836 -0.0677)
OKLCHoklch(52.74% 0.196 339.8)
XYZxyz(23.1666, 12.6099, 26.7998)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2A8E #2AAE4A
analogous
#8C2AAE #AE2A8E #AE2A4C
triadic
#AE2A8E #8EAE2A #2A8EAE
tetradic
#AE2A8E #AE8C2A #2AAE4A #2A4CAE
square
#AE2A8E #AE8C2A #2AAE4A #2A4CAE
split-complementary
#AE2A8E #4CAE2A #2AAE8C
monochromatic
#4B123E #7D1E66 #AE2A8E #D243AF #DE75C4

Accessibility & contrast

On white

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

On black

3.52
#AE2A8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AE2A8E#FFFFFF#000000##FFFFFF
##AE2A8E1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#B82F59
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae2a8e;
/* rgb */ color: rgb(174, 42, 142);
/* oklch */ color: oklch(52.7% 0.196 339.8);
Tailwind
colors: {
  custom: {
    50: '#ca71af',
    500: '#ae2a8e',
    950: '#000000',
  },
}
SCSS
$custom: #ae2a8e;
$custom-light: #ca71af;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2a8e",
  "rgb": {
    "r": 174,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 314.545,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.19572,
    "h": 339.8
  },
  "luminance": 0.12608
}

Semantic roles & 50–950 ramp

primary
#AE2A8E
secondary
#6FC584
accent
#E46B44
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE2A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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