#AE338B#AE338B

#AE338B is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.183 H 341.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AE338B
RGBrgb(174, 51, 139)
HSLhsl(317, 55%, 44%)
HSVhsv(317, 71%, 68%)
CMYKcmyk(0%, 70.7%, 20.1%, 31.8%)
CIE-LABlab(43.11, 58.14, -21.76)
CIE-LCHlch(43.11, 62.07, 339.48°)
OKLaboklab(53.38% 0.1739 -0.0585)
OKLCHoklch(53.38% 0.184 341.4)
XYZxyz(23.3003, 13.2327, 25.7481)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE338B #33AE56
analogous
#9433AE #AE338B #AE334E
triadic
#AE338B #8BAE33 #338BAE
tetradic
#AE338B #AE9433 #33AE56 #334EAE
square
#AE338B #AE9433 #33AE56 #334EAE
split-complementary
#AE338B #4EAE33 #33AE94
monochromatic
#4F173F #7F2565 #AE338B #CC52A9 #DA81C1

Accessibility & contrast

On white

5.76
#AE338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE338B
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE338B#FFFFFF#000000##FFFFFF
##AE338B1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598D
Deuteranopia (green-blind)
#636D88
Tritanopia (blue-blind)
#B9355A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae338b;
/* rgb */ color: rgb(174, 51, 139);
/* oklch */ color: oklch(53.4% 0.183 341.4);
Tailwind
colors: {
  custom: {
    50: '#ca75ad',
    500: '#ae338b',
    950: '#000000',
  },
}
SCSS
$custom: #ae338b;
$custom-light: #ca75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ae338b",
  "rgb": {
    "r": 174,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 317.073,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.1835,
    "h": 341.4
  },
  "luminance": 0.1323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE338B

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

Preview Lab → · Contrast checker → · Palette generator →

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