#AE398B#AE398B

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

Color values

HEX#AE398B
RGBrgb(174, 57, 139)
HSLhsl(318, 51%, 45%)
HSVhsv(318, 67%, 68%)
CMYKcmyk(0%, 67.2%, 20.1%, 31.8%)
CIE-LABlab(43.93, 55.85, -20.50)
CIE-LCHlch(43.93, 59.49, 339.85°)
OKLaboklab(53.98% 0.167 -0.055)
OKLCHoklch(53.98% 0.176 341.8)
XYZxyz(23.5796, 13.7913, 25.8412)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE398B #39AE5C
analogous
#9639AE #AE398B #AE3950
triadic
#AE398B #8BAE39 #398BAE
tetradic
#AE398B #AE9639 #39AE5C #3950AE
square
#AE398B #AE9639 #39AE5C #3950AE
split-complementary
#AE398B #50AE39 #39AE96
monochromatic
#521B41 #802A66 #AE398B #C95BA8 #D889C1

Accessibility & contrast

On white

5.59
#AE398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE398B
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE398B#FFFFFF#000000##FFFFFF
##AE398B1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425C8D
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#B83A5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae398b;
/* rgb */ color: rgb(174, 57, 139);
/* oklch */ color: oklch(54.0% 0.176 341.8);
Tailwind
colors: {
  custom: {
    50: '#ca78ad',
    500: '#ae398b',
    950: '#000000',
  },
}
SCSS
$custom: #ae398b;
$custom-light: #ca78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ae398b",
  "rgb": {
    "r": 174,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 317.949,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5398,
    "c": 0.17579,
    "h": 341.8
  },
  "luminance": 0.13789
}

Semantic roles & 50–950 ramp

primary
#AE398B
secondary
#80C394
accent
#DA784E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE398B

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

Preview Lab → · Contrast checker → · Palette generator →

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