#AE408E#AE408E

#AE408E is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.9% C 0.168 H 340.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AE408E
RGBrgb(174, 64, 142)
HSLhsl(317, 46%, 47%)
HSVhsv(317, 63%, 68%)
CMYKcmyk(0%, 63.2%, 18.4%, 31.8%)
CIE-LABlab(45.11, 53.38, -20.50)
CIE-LCHlch(45.11, 57.18, 338.99°)
OKLaboklab(54.88% 0.1588 -0.055)
OKLCHoklch(54.88% 0.168 340.9)
XYZxyz(24.1720, 14.6206, 27.1349)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE408E #40AE60
analogous
#9740AE #AE408E #AE4057
triadic
#AE408E #8EAE40 #408EAE
tetradic
#AE408E #AE9740 #40AE60 #4057AE
square
#AE408E #AE9740 #40AE60 #4057AE
split-complementary
#AE408E #57AE40 #40AE97
monochromatic
#551F45 #813069 #AE408E #C665AA #D792C3

Accessibility & contrast

On white

5.35
#AE408E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AE408E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE408E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE408E#FFFFFF#000000##FFFFFF
##AE408E1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F90
Deuteranopia (green-blind)
#68718B
Tritanopia (blue-blind)
#B84261
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ae408e;
/* rgb */ color: rgb(174, 64, 142);
/* oklch */ color: oklch(54.9% 0.168 340.9);
Tailwind
colors: {
  custom: {
    50: '#c97caf',
    500: '#ae408e',
    950: '#000000',
  },
}
SCSS
$custom: #ae408e;
$custom-light: #c97caf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae408e",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 317.455,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54884,
    "c": 0.16806,
    "h": 340.9
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#AE408E
secondary
#88C299
accent
#D67852
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AE408E

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

Preview Lab → · Contrast checker → · Palette generator →

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