#AE219C#AE219C

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

Color values

HEX#AE219C
RGBrgb(174, 33, 156)
HSLhsl(308, 68%, 41%)
HSVhsv(308, 81%, 68%)
CMYKcmyk(0%, 81%, 10.3%, 31.8%)
CIE-LABlab(41.98, 66.11, -33.82)
CIE-LCHlch(41.98, 74.25, 332.91°)
OKLaboklab(52.83% 0.1924 -0.0927)
OKLCHoklch(52.83% 0.214 334.3)
XYZxyz(24.0004, 12.4889, 32.5926)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE219C #21AE33
analogous
#7A21AE #AE219C #AE2155
triadic
#AE219C #9CAE21 #219CAE
tetradic
#AE219C #AE7A21 #21AE33 #2155AE
square
#AE219C #AE7A21 #21AE33 #2155AE
split-complementary
#AE219C #55AE21 #21AE7A
monochromatic
#470D40 #7B176E #AE219C #D834C3 #E267D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE219C#FFFFFF#000000##FFFFFF
##AE219C1.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)
#1D569F
Deuteranopia (green-blind)
#566A99
Tritanopia (blue-blind)
#B7305F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae219c;
/* rgb */ color: rgb(174, 33, 156);
/* oklch */ color: oklch(52.8% 0.214 334.3);
Tailwind
colors: {
  custom: {
    50: '#ca6fb9',
    500: '#ae219c',
    950: '#000000',
  },
}
SCSS
$custom: #ae219c;
$custom-light: #ca6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae219c",
  "rgb": {
    "r": 174,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 307.66,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.21355,
    "h": 334.3
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#AE219C
secondary
#63C870
accent
#EB533D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AE219C

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

Preview Lab → · Contrast checker → · Palette generator →

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