#AE3F8D#AE3F8D

#AE3F8D is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.7% C 0.169 H 341.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AE3F8D
RGBrgb(174, 63, 141)
HSLhsl(318, 47%, 46%)
HSVhsv(318, 64%, 68%)
CMYKcmyk(0%, 63.8%, 19%, 31.8%)
CIE-LABlab(44.91, 53.66, -20.20)
CIE-LCHlch(44.91, 57.33, 339.37°)
OKLaboklab(54.73% 0.1599 -0.0542)
OKLCHoklch(54.73% 0.169 341.3)
XYZxyz(24.0414, 14.4790, 26.7227)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE3F8D #3FAE60
analogous
#983FAE #AE3F8D #AE3F56
triadic
#AE3F8D #8DAE3F #3F8DAE
tetradic
#AE3F8D #AE983F #3FAE60 #3F56AE
square
#AE3F8D #AE983F #3FAE60 #3F56AE
split-complementary
#AE3F8D #56AE3F #3FAE98
monochromatic
#541E44 #812F69 #AE3F8D #C764A9 #D790C2

Accessibility & contrast

On white

5.39
#AE3F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AE3F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE3F8D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE3F8D#FFFFFF#000000##FFFFFF
##AE3F8D1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#B84160
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ae3f8d;
/* rgb */ color: rgb(174, 63, 141);
/* oklch */ color: oklch(54.7% 0.169 341.3);
Tailwind
colors: {
  custom: {
    50: '#c97bae',
    500: '#ae3f8d',
    950: '#000000',
  },
}
SCSS
$custom: #ae3f8d;
$custom-light: #c97bae;
$custom-dark: #000000;
JSON
{
  "hex": "#ae3f8d",
  "rgb": {
    "r": 174,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 317.838,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54725,
    "c": 0.16881,
    "h": 341.3
  },
  "luminance": 0.14477
}

Semantic roles & 50–950 ramp

primary
#AE3F8D
secondary
#87C298
accent
#D67951
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AE3F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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