#AE317C#AE317C

#AE317C is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.177 H 348.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AE317C
RGBrgb(174, 49, 124)
HSLhsl(324, 56%, 44%)
HSVhsv(324, 72%, 68%)
CMYKcmyk(0%, 71.8%, 28.7%, 31.8%)
CIE-LABlab(42.24, 56.87, -13.92)
CIE-LCHlch(42.24, 58.55, 346.25°)
OKLaboklab(52.54% 0.173 -0.0366)
OKLCHoklch(52.54% 0.177 348.1)
XYZxyz(22.1930, 12.6530, 20.3384)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE317C #31AE63
analogous
#A131AE #AE317C #AE313D
triadic
#AE317C #7CAE31 #317CAE
tetradic
#AE317C #AEA131 #31AE63 #313DAE
square
#AE317C #AEA131 #31AE63 #313DAE
split-complementary
#AE317C #3DAE31 #31AEA1
monochromatic
#4E1638 #7E245A #AE317C #CD4F9B #DB7FB6

Accessibility & contrast

On white

5.95
#AE317C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AE317C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE317C
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE317C#FFFFFF#000000##FFFFFF
##AE317C1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567E
Deuteranopia (green-blind)
#676C79
Tritanopia (blue-blind)
#BA2C52
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae317c;
/* rgb */ color: rgb(174, 49, 124);
/* oklch */ color: oklch(52.5% 0.177 348.1);
Tailwind
colors: {
  custom: {
    50: '#ca74a2',
    500: '#ae317c',
    950: '#000000',
  },
}
SCSS
$custom: #ae317c;
$custom-light: #ca74a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae317c",
  "rgb": {
    "r": 174,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 324,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52541,
    "c": 0.17687,
    "h": 348.1
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

primary
#AE317C
secondary
#77C496
accent
#DF8548
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AE317C

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

Preview Lab → · Contrast checker → · Palette generator →

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