#AE27AC#AE27AC

#AE27AC is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.220 H 328.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AE27AC
RGBrgb(174, 39, 172)
HSLhsl(301, 63%, 42%)
HSVhsv(301, 78%, 68%)
CMYKcmyk(0%, 77.6%, 1.1%, 31.8%)
CIE-LABlab(43.40, 66.96, -41.13)
CIE-LCHlch(43.40, 78.59, 328.44°)
OKLaboklab(54.13% 0.1879 -0.114)
OKLCHoklch(54.13% 0.22 328.8)
XYZxyz(25.6272, 13.4302, 40.2643)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE27AC #27AE29
analogous
#6D27AE #AE27AC #AE2769
triadic
#AE27AC #ACAE27 #27ACAE
tetradic
#AE27AC #AE6D27 #27AE29 #2769AE
square
#AE27AC #AE6D27 #27AE29 #2769AE
split-complementary
#AE27AC #69AE27 #27AE6D
monochromatic
#4A1149 #7C1C7B #AE27AC #D43ED2 #DF70DD

Accessibility & contrast

On white

5.70
#AE27AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AE27AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE27AC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE27AC#FFFFFF#000000##FFFFFF
##AE27AC1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045BAF
Deuteranopia (green-blind)
#4F6DA9
Tritanopia (blue-blind)
#B43D69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ae27ac;
/* rgb */ color: rgb(174, 39, 172);
/* oklch */ color: oklch(54.1% 0.220 328.8);
Tailwind
colors: {
  custom: {
    50: '#ca72c5',
    500: '#ae27ac',
    950: '#000000',
  },
}
SCSS
$custom: #ae27ac;
$custom-light: #ca72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae27ac",
  "rgb": {
    "r": 174,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 300.889,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54128,
    "c": 0.21973,
    "h": 328.8
  },
  "luminance": 0.13428
}

Semantic roles & 50–950 ramp

primary
#AE27AC
secondary
#6BC66C
accent
#E64441
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE27AC

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

Preview Lab → · Contrast checker → · Palette generator →

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