#AE228B#AE228B

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

Color values

HEX#AE228B
RGBrgb(174, 34, 139)
HSLhsl(315, 67%, 41%)
HSVhsv(315, 80%, 68%)
CMYKcmyk(0%, 80.5%, 20.1%, 31.8%)
CIE-LABlab(41.23, 63.48, -24.68)
CIE-LCHlch(41.23, 68.11, 338.76°)
OKLaboklab(52.02% 0.1902 -0.0666)
OKLCHoklch(52.02% 0.202 340.7)
XYZxyz(22.6885, 12.0092, 25.5442)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE228B #22AE45
analogous
#8B22AE #AE228B #AE2245
triadic
#AE228B #8BAE22 #228BAE
tetradic
#AE228B #AE8B22 #22AE45 #2245AE
square
#AE228B #AE8B22 #22AE45 #2245AE
split-complementary
#AE228B #45AE22 #22AE8B
monochromatic
#480E39 #7B1862 #AE228B #D836AF #E269C3

Accessibility & contrast

On white

6.17
#AE228B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE228B
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE228B#FFFFFF#000000##FFFFFF
##AE228B1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538E
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#B92655
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae228b;
/* rgb */ color: rgb(174, 34, 139);
/* oklch */ color: oklch(52.0% 0.202 340.7);
Tailwind
colors: {
  custom: {
    50: '#ca6ead',
    500: '#ae228b',
    950: '#000000',
  },
}
SCSS
$custom: #ae228b;
$custom-light: #ca6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#ae228b",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 315,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5202,
    "c": 0.20153,
    "h": 340.7
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#AE228B
secondary
#64C77D
accent
#EA693E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE228B

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

Preview Lab → · Contrast checker → · Palette generator →

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