#AE338C#AE338C

#AE338C is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.184 H 341.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AE338C
RGBrgb(174, 51, 140)
HSLhsl(317, 55%, 44%)
HSVhsv(317, 71%, 68%)
CMYKcmyk(0%, 70.7%, 19.5%, 31.8%)
CIE-LABlab(43.16, 58.28, -22.30)
CIE-LCHlch(43.16, 62.40, 339.06°)
OKLaboklab(53.43% 0.1741 -0.06)
OKLCHoklch(53.43% 0.184 341)
XYZxyz(23.3737, 13.2620, 26.1347)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE338C #33AE55
analogous
#9333AE #AE338C #AE334F
triadic
#AE338C #8CAE33 #338CAE
tetradic
#AE338C #AE9333 #33AE55 #334FAE
square
#AE338C #AE9333 #33AE55 #334FAE
split-complementary
#AE338C #4FAE33 #33AE93
monochromatic
#4F1740 #7F2566 #AE338C #CC52AA #DA81C2

Accessibility & contrast

On white

5.75
#AE338C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AE338C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE338C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE338C#FFFFFF#000000##FFFFFF
##AE338C1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598F
Deuteranopia (green-blind)
#636D89
Tritanopia (blue-blind)
#B8365B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae338c;
/* rgb */ color: rgb(174, 51, 140);
/* oklch */ color: oklch(53.4% 0.184 341.0);
Tailwind
colors: {
  custom: {
    50: '#ca75ae',
    500: '#ae338c',
    950: '#000000',
  },
}
SCSS
$custom: #ae338c;
$custom-light: #ca75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ae338c",
  "rgb": {
    "r": 174,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 316.585,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53428,
    "c": 0.18415,
    "h": 341
  },
  "luminance": 0.1326
}

Semantic roles & 50–950 ramp

primary
#AE338C
secondary
#79C38E
accent
#DE734A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE338C

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

Preview Lab → · Contrast checker → · Palette generator →

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