#AE218C#AE218C

#AE218C is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.0% C 0.203 H 340.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AE218C
RGBrgb(174, 33, 140)
HSLhsl(314, 68%, 41%)
HSVhsv(314, 81%, 68%)
CMYKcmyk(0%, 81%, 19.5%, 31.8%)
CIE-LABlab(41.19, 63.87, -25.36)
CIE-LCHlch(41.19, 68.72, 338.35°)
OKLaboklab(52% 0.1911 -0.0685)
OKLCHoklch(52% 0.203 340.3)
XYZxyz(22.7338, 11.9822, 25.9214)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE218C #21AE43
analogous
#8921AE #AE218C #AE2145
triadic
#AE218C #8CAE21 #218CAE
tetradic
#AE218C #AE8921 #21AE43 #2145AE
square
#AE218C #AE8921 #21AE43 #2145AE
split-complementary
#AE218C #45AE21 #21AE89
monochromatic
#470D39 #7B1763 #AE218C #D834B1 #E267C5

Accessibility & contrast

On white

6.18
#AE218C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE218C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE218C#FFFFFF#000000##FFFFFF
##AE218C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538F
Deuteranopia (green-blind)
#5D6989
Tritanopia (blue-blind)
#B92656
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae218c;
/* rgb */ color: rgb(174, 33, 140);
/* oklch */ color: oklch(52.0% 0.203 340.3);
Tailwind
colors: {
  custom: {
    50: '#ca6eae',
    500: '#ae218c',
    950: '#000000',
  },
}
SCSS
$custom: #ae218c;
$custom-light: #ca6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#ae218c",
  "rgb": {
    "r": 174,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 314.468,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.20303,
    "h": 340.3
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE218C

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

Preview Lab → · Contrast checker → · Palette generator →

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