#AE228C#AE228C

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

Color values

HEX#AE228C
RGBrgb(174, 34, 140)
HSLhsl(315, 67%, 41%)
HSVhsv(315, 80%, 68%)
CMYKcmyk(0%, 80.5%, 19.5%, 31.8%)
CIE-LABlab(41.28, 63.61, -25.22)
CIE-LCHlch(41.28, 68.43, 338.38°)
OKLaboklab(52.07% 0.1903 -0.0681)
OKLCHoklch(52.07% 0.202 340.3)
XYZxyz(22.7619, 12.0385, 25.9308)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE228C #22AE44
analogous
#8A22AE #AE228C #AE2246
triadic
#AE228C #8CAE22 #228CAE
tetradic
#AE228C #AE8A22 #22AE44 #2246AE
square
#AE228C #AE8A22 #22AE44 #2246AE
split-complementary
#AE228C #46AE22 #22AE8A
monochromatic
#480E3A #7B1863 #AE228C #D836B0 #E269C4

Accessibility & contrast

On white

6.16
#AE228C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE228C
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE228C#FFFFFF#000000##FFFFFF
##AE228C1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae228c;
/* rgb */ color: rgb(174, 34, 140);
/* oklch */ color: oklch(52.1% 0.202 340.3);
Tailwind
colors: {
  custom: {
    50: '#ca6eae',
    500: '#ae228c',
    950: '#000000',
  },
}
SCSS
$custom: #ae228c;
$custom-light: #ca6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#ae228c",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 314.571,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52069,
    "c": 0.20217,
    "h": 340.3
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE228C

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

Preview Lab → · Contrast checker → · Palette generator →

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