#AE228E#AE228E

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

Color values

HEX#AE228E
RGBrgb(174, 34, 142)
HSLhsl(314, 67%, 41%)
HSVhsv(314, 80%, 68%)
CMYKcmyk(0%, 80.5%, 18.4%, 31.8%)
CIE-LABlab(41.37, 63.88, -26.29)
CIE-LCHlch(41.37, 69.08, 337.63°)
OKLaboklab(52.17% 0.1906 -0.0712)
OKLCHoklch(52.17% 0.203 339.5)
XYZxyz(22.9107, 12.0981, 26.7145)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE228E #22AE42
analogous
#8822AE #AE228E #AE2248
triadic
#AE228E #8EAE22 #228EAE
tetradic
#AE228E #AE8822 #22AE42 #2248AE
square
#AE228E #AE8822 #22AE42 #2248AE
split-complementary
#AE228E #48AE22 #22AE88
monochromatic
#480E3A #7B1864 #AE228E #D836B3 #E269C6

Accessibility & contrast

On white

6.14
#AE228E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AE228E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE228E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE228E#FFFFFF#000000##FFFFFF
##AE228E1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#5C698B
Tritanopia (blue-blind)
#B82857
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ae228e;
/* rgb */ color: rgb(174, 34, 142);
/* oklch */ color: oklch(52.2% 0.203 339.5);
Tailwind
colors: {
  custom: {
    50: '#ca6faf',
    500: '#ae228e',
    950: '#000000',
  },
}
SCSS
$custom: #ae228e;
$custom-light: #ca6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae228e",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 313.714,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52167,
    "c": 0.20343,
    "h": 339.5
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#AE228E
secondary
#64C77B
accent
#EA653E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE228E

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

Preview Lab → · Contrast checker → · Palette generator →

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