#AE228D#AE228D

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

Color values

HEX#AE228D
RGBrgb(174, 34, 141)
HSLhsl(314, 67%, 41%)
HSVhsv(314, 80%, 68%)
CMYKcmyk(0%, 80.5%, 19%, 31.8%)
CIE-LABlab(41.32, 63.75, -25.75)
CIE-LCHlch(41.32, 68.75, 338.00°)
OKLaboklab(52.12% 0.1905 -0.0696)
OKLCHoklch(52.12% 0.203 339.9)
XYZxyz(22.8360, 12.0682, 26.3209)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE228D #22AE43
analogous
#8922AE #AE228D #AE2247
triadic
#AE228D #8DAE22 #228DAE
tetradic
#AE228D #AE8922 #22AE43 #2247AE
square
#AE228D #AE8922 #22AE43 #2247AE
split-complementary
#AE228D #47AE22 #22AE89
monochromatic
#480E3A #7B1864 #AE228D #D836B1 #E269C5

Accessibility & contrast

On white

6.15
#AE228D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AE228D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE228D
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE228D#FFFFFF#000000##FFFFFF
##AE228D1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae228d;
/* rgb */ color: rgb(174, 34, 141);
/* oklch */ color: oklch(52.1% 0.203 339.9);
Tailwind
colors: {
  custom: {
    50: '#ca6fae',
    500: '#ae228d',
    950: '#000000',
  },
}
SCSS
$custom: #ae228d;
$custom-light: #ca6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#ae228d",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 314.143,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.20279,
    "h": 339.9
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#AE228D
secondary
#64C77C
accent
#EA663E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE228D

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

Preview Lab → · Contrast checker → · Palette generator →

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