#AE317F#AE317F

#AE317F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.179 H 346.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AE317F
RGBrgb(174, 49, 127)
HSLhsl(323, 56%, 44%)
HSVhsv(323, 72%, 68%)
CMYKcmyk(0%, 71.8%, 27%, 31.8%)
CIE-LABlab(42.35, 57.25, -15.59)
CIE-LCHlch(42.35, 59.34, 344.77°)
OKLaboklab(52.67% 0.1737 -0.0412)
OKLCHoklch(52.67% 0.179 346.7)
XYZxyz(22.3856, 12.7300, 21.3528)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE317F #31AE60
analogous
#9E31AE #AE317F #AE3140
triadic
#AE317F #7FAE31 #317FAE
tetradic
#AE317F #AE9E31 #31AE60 #3140AE
square
#AE317F #AE9E31 #31AE60 #3140AE
split-complementary
#AE317F #40AE31 #31AE9E
monochromatic
#4E1639 #7E245C #AE317F #CD4F9E #DB7FB8

Accessibility & contrast

On white

5.92
#AE317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AE317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE317F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE317F#FFFFFF#000000##FFFFFF
##AE317F1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415681
Deuteranopia (green-blind)
#666C7C
Tritanopia (blue-blind)
#BA2D54
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae317f;
/* rgb */ color: rgb(174, 49, 127);
/* oklch */ color: oklch(52.7% 0.179 346.7);
Tailwind
colors: {
  custom: {
    50: '#ca74a4',
    500: '#ae317f',
    950: '#000000',
  },
}
SCSS
$custom: #ae317f;
$custom-light: #ca74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae317f",
  "rgb": {
    "r": 174,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 322.56,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.17856,
    "h": 346.7
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#AE317F
secondary
#77C494
accent
#DF8148
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AE317F

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

Preview Lab → · Contrast checker → · Palette generator →

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