#AE228A#AE228A

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

Color values

HEX#AE228A
RGBrgb(174, 34, 138)
HSLhsl(315, 67%, 41%)
HSVhsv(315, 80%, 68%)
CMYKcmyk(0%, 80.5%, 20.7%, 31.8%)
CIE-LABlab(41.18, 63.35, -24.14)
CIE-LCHlch(41.18, 67.79, 339.14°)
OKLaboklab(51.97% 0.1901 -0.0651)
OKLCHoklch(51.97% 0.201 341.1)
XYZxyz(22.6158, 11.9801, 25.1612)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE228A #22AE46
analogous
#8C22AE #AE228A #AE2244
triadic
#AE228A #8AAE22 #228AAE
tetradic
#AE228A #AE8C22 #22AE46 #2244AE
square
#AE228A #AE8C22 #22AE46 #2244AE
split-complementary
#AE228A #44AE22 #22AE8C
monochromatic
#480E39 #7B1861 #AE228A #D836AE #E269C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE228A#FFFFFF#000000##FFFFFF
##AE228A1.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)
#30538D
Deuteranopia (green-blind)
#5E6987
Tritanopia (blue-blind)
#B92655
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae228a;
/* rgb */ color: rgb(174, 34, 138);
/* oklch */ color: oklch(52.0% 0.201 341.1);
Tailwind
colors: {
  custom: {
    50: '#ca6eac',
    500: '#ae228a',
    950: '#000000',
  },
}
SCSS
$custom: #ae228a;
$custom-light: #ca6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#ae228a",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 315.429,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.20091,
    "h": 341.1
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#AE228A
secondary
#64C77E
accent
#EA6A3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE228A

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

Preview Lab → · Contrast checker → · Palette generator →

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