#AE22AF#AE22AF

#AE22AF is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.0% C 0.226 H 327.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AE22AF
RGBrgb(174, 34, 175)
HSLhsl(300, 67%, 41%)
HSVhsv(300, 81%, 69%)
CMYKcmyk(0.6%, 80.6%, 0%, 31.4%)
CIE-LABlab(43.12, 68.76, -43.36)
CIE-LCHlch(43.12, 81.29, 327.76°)
OKLaboklab(53.98% 0.1915 -0.1204)
OKLCHoklch(53.98% 0.226 327.8)
XYZxyz(25.7651, 13.2398, 41.7476)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE22AF #23AF22
analogous
#6722AF #AE22AF #AF226A
triadic
#AE22AF #AFAE22 #22AFAE
tetradic
#AE22AF #AF6722 #23AF22 #226AAF
square
#AE22AF #AF6722 #23AF22 #226AAF
split-complementary
#AE22AF #6AAF22 #22AF67
monochromatic
#480E49 #7B187C #AE22AF #D736D8 #E169E2

Accessibility & contrast

On white

5.76
#AE22AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AE22AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE22AF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE22AF#FFFFFF#000000##FFFFFF
##AE22AF1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4C6CAC
Tritanopia (blue-blind)
#B33C6A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae22af;
/* rgb */ color: rgb(174, 34, 175);
/* oklch */ color: oklch(54.0% 0.226 327.8);
Tailwind
colors: {
  custom: {
    50: '#ca70c7',
    500: '#ae22af',
    950: '#000000',
  },
}
SCSS
$custom: #ae22af;
$custom-light: #ca70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae22af",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 299.574,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53983,
    "c": 0.2262,
    "h": 327.8
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#AE22AF
secondary
#66C865
accent
#EA3D3F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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