#AE317E#AE317E

#AE317E is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.178 H 347.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AE317E
RGBrgb(174, 49, 126)
HSLhsl(323, 56%, 44%)
HSVhsv(323, 72%, 68%)
CMYKcmyk(0%, 71.8%, 27.6%, 31.8%)
CIE-LABlab(42.31, 57.13, -15.03)
CIE-LCHlch(42.31, 59.07, 345.26°)
OKLaboklab(52.62% 0.1735 -0.0397)
OKLCHoklch(52.62% 0.178 347.1)
XYZxyz(22.3208, 12.7041, 21.0113)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE317E #31AE61
analogous
#9F31AE #AE317E #AE313F
triadic
#AE317E #7EAE31 #317EAE
tetradic
#AE317E #AE9F31 #31AE61 #313FAE
square
#AE317E #AE9F31 #31AE61 #313FAE
split-complementary
#AE317E #3FAE31 #31AE9F
monochromatic
#4E1639 #7E245B #AE317E #CD4F9D #DB7FB7

Accessibility & contrast

On white

5.93
#AE317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AE317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE317E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE317E#FFFFFF#000000##FFFFFF
##AE317E1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425680
Deuteranopia (green-blind)
#676C7B
Tritanopia (blue-blind)
#BA2D53
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae317e;
/* rgb */ color: rgb(174, 49, 126);
/* oklch */ color: oklch(52.6% 0.178 347.1);
Tailwind
colors: {
  custom: {
    50: '#ca74a3',
    500: '#ae317e',
    950: '#000000',
  },
}
SCSS
$custom: #ae317e;
$custom-light: #ca74a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae317e",
  "rgb": {
    "r": 174,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 323.04,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52624,
    "c": 0.17799,
    "h": 347.1
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#AE317E
secondary
#77C495
accent
#DF8248
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AE317E

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

Preview Lab → · Contrast checker → · Palette generator →

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