#AE1F8E#AE1F8E

#AE1F8E is a mid, highly saturated pink. Relative luminance 0.119; OKLCH L 52.0% C 0.206 H 339.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AE1F8E
RGBrgb(174, 31, 142)
HSLhsl(313, 70%, 40%)
HSVhsv(313, 82%, 68%)
CMYKcmyk(0%, 82.2%, 18.4%, 31.8%)
CIE-LABlab(41.11, 64.63, -26.70)
CIE-LCHlch(41.11, 69.93, 337.56°)
OKLaboklab(51.98% 0.1929 -0.0723)
OKLCHoklch(51.98% 0.206 339.4)
XYZxyz(22.8287, 11.9340, 26.6872)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1F8E #1FAE3F
analogous
#871FAE #AE1F8E #AE1F46
triadic
#AE1F8E #8EAE1F #1F8EAE
tetradic
#AE1F8E #AE871F #1FAE3F #1F46AE
square
#AE1F8E #AE871F #1FAE3F #1F46AE
split-complementary
#AE1F8E #46AE1F #1FAE87
monochromatic
#460C39 #7A1664 #AE1F8E #DA30B4 #E364C7

Accessibility & contrast

On white

6.20
#AE1F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AE1F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1F8E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1F8E#FFFFFF#000000##FFFFFF
##AE1F8E1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5391
Deuteranopia (green-blind)
#5B698B
Tritanopia (blue-blind)
#B82656
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae1f8e;
/* rgb */ color: rgb(174, 31, 142);
/* oklch */ color: oklch(52.0% 0.206 339.4);
Tailwind
colors: {
  custom: {
    50: '#ca6eaf',
    500: '#ae1f8e',
    950: '#000000',
  },
}
SCSS
$custom: #ae1f8e;
$custom-light: #ca6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1f8e",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 313.427,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5198,
    "c": 0.20596,
    "h": 339.4
  },
  "luminance": 0.11932
}

Semantic roles & 50–950 ramp

primary
#AE1F8E
secondary
#60C878
accent
#ED633B
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE1F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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