#AE4F97#AE4F97

#AE4F97 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.2% C 0.151 H 337.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AE4F97
RGBrgb(174, 79, 151)
HSLhsl(315, 38%, 50%)
HSVhsv(315, 55%, 68%)
CMYKcmyk(0%, 54.6%, 13.2%, 31.8%)
CIE-LABlab(48.04, 47.86, -21.38)
CIE-LCHlch(48.04, 52.42, 335.93°)
OKLaboklab(57.17% 0.1401 -0.0577)
OKLCHoklch(57.17% 0.152 337.6)
XYZxyz(25.8377, 16.8269, 31.1592)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4F97 #4FAE66
analogous
#954FAE #AE4F97 #AE4F68
triadic
#AE4F97 #97AE4F #4F97AE
tetradic
#AE4F97 #AE954F #4FAE66 #4F68AE
square
#AE4F97 #AE954F #4FAE66 #4F68AE
split-complementary
#AE4F97 #68AE4F #4FAE95
monochromatic
#5A294E #843C72 #AE4F97 #C278B0 #D5A2C9

Accessibility & contrast

On white

4.81
#AE4F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AE4F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE4F97
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4F97#FFFFFF#000000##FFFFFF
##AE4F971.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526999
Deuteranopia (green-blind)
#6D7794
Tritanopia (blue-blind)
#B6526C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ae4f97;
/* rgb */ color: rgb(174, 79, 151);
/* oklch */ color: oklch(57.2% 0.151 337.6);
Tailwind
colors: {
  custom: {
    50: '#c885b5',
    500: '#ae4f97',
    950: '#000000',
  },
}
SCSS
$custom: #ae4f97;
$custom-light: #c885b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4f97",
  "rgb": {
    "r": 174,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 314.526,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.1515,
    "h": 337.6
  },
  "luminance": 0.16825
}

Semantic roles & 50–950 ramp

primary
#AE4F97
secondary
#97C2A1
accent
#CE765A
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AE4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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