#AE408F#AE408F

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

Color values

HEX#AE408F
RGBrgb(174, 64, 143)
HSLhsl(317, 46%, 47%)
HSVhsv(317, 63%, 68%)
CMYKcmyk(0%, 63.2%, 17.8%, 31.8%)
CIE-LABlab(45.15, 53.52, -21.04)
CIE-LCHlch(45.15, 57.51, 338.54°)
OKLaboklab(54.93% 0.159 -0.0565)
OKLCHoklch(54.93% 0.169 340.4)
XYZxyz(24.2474, 14.6508, 27.5321)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE408F #40AE5F
analogous
#9640AE #AE408F #AE4058
triadic
#AE408F #8FAE40 #408FAE
tetradic
#AE408F #AE9640 #40AE5F #4058AE
square
#AE408F #AE9640 #40AE5F #4058AE
split-complementary
#AE408F #58AE40 #40AE96
monochromatic
#551F45 #81306A #AE408F #C665AB #D792C3

Accessibility & contrast

On white

5.34
#AE408F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AE408F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE408F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE408F#FFFFFF#000000##FFFFFF
##AE408F1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#B84262
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ae408f;
/* rgb */ color: rgb(174, 64, 143);
/* oklch */ color: oklch(54.9% 0.169 340.4);
Tailwind
colors: {
  custom: {
    50: '#c97cb0',
    500: '#ae408f',
    950: '#000000',
  },
}
SCSS
$custom: #ae408f;
$custom-light: #c97cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae408f",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 316.909,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54929,
    "c": 0.16875,
    "h": 340.4
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#AE408F
secondary
#88C298
accent
#D67752
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AE408F

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

Preview Lab → · Contrast checker → · Palette generator →

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