#AE398C#AE398C

#AE398C is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.176 H 341.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AE398C
RGBrgb(174, 57, 140)
HSLhsl(317, 51%, 45%)
HSVhsv(317, 67%, 68%)
CMYKcmyk(0%, 67.2%, 19.5%, 31.8%)
CIE-LABlab(43.97, 55.99, -21.04)
CIE-LCHlch(43.97, 59.81, 339.41°)
OKLaboklab(54.03% 0.1672 -0.0565)
OKLCHoklch(54.03% 0.176 341.3)
XYZxyz(23.6530, 13.8206, 26.2278)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE398C #39AE5B
analogous
#9539AE #AE398C #AE3951
triadic
#AE398C #8CAE39 #398CAE
tetradic
#AE398C #AE9539 #39AE5B #3951AE
square
#AE398C #AE9539 #39AE5B #3951AE
split-complementary
#AE398C #51AE39 #39AE95
monochromatic
#521B42 #802A67 #AE398C #C95BA9 #D889C1

Accessibility & contrast

On white

5.58
#AE398C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AE398C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE398C
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE398C#FFFFFF#000000##FFFFFF
##AE398C1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425C8E
Deuteranopia (green-blind)
#656F89
Tritanopia (blue-blind)
#B83B5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae398c;
/* rgb */ color: rgb(174, 57, 140);
/* oklch */ color: oklch(54.0% 0.176 341.3);
Tailwind
colors: {
  custom: {
    50: '#ca78ad',
    500: '#ae398c',
    950: '#000000',
  },
}
SCSS
$custom: #ae398c;
$custom-light: #ca78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ae398c",
  "rgb": {
    "r": 174,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 317.436,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54025,
    "c": 0.17645,
    "h": 341.3
  },
  "luminance": 0.13818
}

Semantic roles & 50–950 ramp

primary
#AE398C
secondary
#80C394
accent
#DA764E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AE398C

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

Preview Lab → · Contrast checker → · Palette generator →

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