#AE229B#AE229B

#AE229B is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.212 H 334.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AE229B
RGBrgb(174, 34, 155)
HSLhsl(308, 67%, 41%)
HSVhsv(308, 80%, 68%)
CMYKcmyk(0%, 80.5%, 10.9%, 31.8%)
CIE-LABlab(42.02, 65.71, -33.16)
CIE-LCHlch(42.02, 73.60, 333.22°)
OKLaboklab(52.84% 0.1916 -0.0908)
OKLCHoklch(52.84% 0.212 334.6)
XYZxyz(23.9443, 12.5115, 32.1579)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE229B #22AE35
analogous
#7B22AE #AE229B #AE2255
triadic
#AE229B #9BAE22 #229BAE
tetradic
#AE229B #AE7B22 #22AE35 #2255AE
square
#AE229B #AE7B22 #22AE35 #2255AE
split-complementary
#AE229B #55AE22 #22AE7B
monochromatic
#480E40 #7B186D #AE229B #D836C2 #E269D1

Accessibility & contrast

On white

6.00
#AE229B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AE229B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE229B
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE229B#FFFFFF#000000##FFFFFF
##AE229B1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20569E
Deuteranopia (green-blind)
#576A98
Tritanopia (blue-blind)
#B7305E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae229b;
/* rgb */ color: rgb(174, 34, 155);
/* oklch */ color: oklch(52.8% 0.212 334.6);
Tailwind
colors: {
  custom: {
    50: '#ca6fb9',
    500: '#ae229b',
    950: '#000000',
  },
}
SCSS
$custom: #ae229b;
$custom-light: #ca6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae229b",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 308.143,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5284,
    "c": 0.21203,
    "h": 334.6
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#AE229B
secondary
#64C772
accent
#EA553E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AE229B

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

Preview Lab → · Contrast checker → · Palette generator →

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