#AE398D#AE398D

#AE398D is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.177 H 340.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AE398D
RGBrgb(174, 57, 141)
HSLhsl(317, 51%, 45%)
HSVhsv(317, 67%, 68%)
CMYKcmyk(0%, 67.2%, 19%, 31.8%)
CIE-LABlab(44.02, 56.13, -21.58)
CIE-LCHlch(44.02, 60.14, 338.97°)
OKLaboklab(54.07% 0.1674 -0.058)
OKLCHoklch(54.07% 0.177 340.9)
XYZxyz(23.7270, 13.8502, 26.6179)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE398D #39AE5A
analogous
#9439AE #AE398D #AE3953
triadic
#AE398D #8DAE39 #398DAE
tetradic
#AE398D #AE9439 #39AE5A #3953AE
square
#AE398D #AE9439 #39AE5A #3953AE
split-complementary
#AE398D #53AE39 #39AE94
monochromatic
#521B42 #802A68 #AE398D #C95BAA #D889C2

Accessibility & contrast

On white

5.57
#AE398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AE398D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE398D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE398D#FFFFFF#000000##FFFFFF
##AE398D1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8F
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#B83B5E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae398d;
/* rgb */ color: rgb(174, 57, 141);
/* oklch */ color: oklch(54.1% 0.177 340.9);
Tailwind
colors: {
  custom: {
    50: '#ca78ae',
    500: '#ae398d',
    950: '#000000',
  },
}
SCSS
$custom: #ae398d;
$custom-light: #ca78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ae398d",
  "rgb": {
    "r": 174,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 316.923,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.17712,
    "h": 340.9
  },
  "luminance": 0.13848
}

Semantic roles & 50–950 ramp

primary
#AE398D
secondary
#80C393
accent
#DA754E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AE398D

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

Preview Lab → · Contrast checker → · Palette generator →

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