#AE218D#AE218D

#AE218D is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.1% C 0.204 H 339.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AE218D
RGBrgb(174, 33, 141)
HSLhsl(314, 68%, 41%)
HSVhsv(314, 81%, 68%)
CMYKcmyk(0%, 81%, 19%, 31.8%)
CIE-LABlab(41.23, 64.01, -25.89)
CIE-LCHlch(41.23, 69.04, 337.97°)
OKLaboklab(52.05% 0.1912 -0.07)
OKLCHoklch(52.05% 0.204 339.9)
XYZxyz(22.8078, 12.0118, 26.3115)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE218D #21AE42
analogous
#8921AE #AE218D #AE2146
triadic
#AE218D #8DAE21 #218DAE
tetradic
#AE218D #AE8921 #21AE42 #2146AE
square
#AE218D #AE8921 #21AE42 #2146AE
split-complementary
#AE218D #46AE21 #21AE89
monochromatic
#470D3A #7B1763 #AE218D #D834B2 #E267C5

Accessibility & contrast

On white

6.17
#AE218D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AE218D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE218D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE218D#FFFFFF#000000##FFFFFF
##AE218D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5390
Deuteranopia (green-blind)
#5C698A
Tritanopia (blue-blind)
#B92756
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae218d;
/* rgb */ color: rgb(174, 33, 141);
/* oklch */ color: oklch(52.1% 0.204 339.9);
Tailwind
colors: {
  custom: {
    50: '#ca6eae',
    500: '#ae218d',
    950: '#000000',
  },
}
SCSS
$custom: #ae218d;
$custom-light: #ca6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#ae218d",
  "rgb": {
    "r": 174,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 314.043,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52053,
    "c": 0.20366,
    "h": 339.9
  },
  "luminance": 0.12009
}

Semantic roles & 50–950 ramp

primary
#AE218D
secondary
#63C87B
accent
#EB663D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE218D

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

Preview Lab → · Contrast checker → · Palette generator →

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