#AE1F91#AE1F91

#AE1F91 is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.1% C 0.208 H 338.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AE1F91
RGBrgb(174, 31, 145)
HSLhsl(312, 70%, 40%)
HSVhsv(312, 82%, 68%)
CMYKcmyk(0%, 82.2%, 16.7%, 31.8%)
CIE-LABlab(41.26, 65.04, -28.30)
CIE-LCHlch(41.26, 70.93, 336.49°)
OKLaboklab(52.13% 0.1931 -0.0769)
OKLCHoklch(52.13% 0.208 338.3)
XYZxyz(23.0570, 12.0253, 27.8894)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1F91 #1FAE3C
analogous
#841FAE #AE1F91 #AE1F49
triadic
#AE1F91 #91AE1F #1F91AE
tetradic
#AE1F91 #AE841F #1FAE3C #1F49AE
square
#AE1F91 #AE841F #1FAE3C #1F49AE
split-complementary
#AE1F91 #49AE1F #1FAE84
monochromatic
#460C3A #7A1666 #AE1F91 #DA30B8 #E364CA

Accessibility & contrast

On white

6.17
#AE1F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AE1F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1F91
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1F91#FFFFFF#000000##FFFFFF
##AE1F911.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285394
Deuteranopia (green-blind)
#5A698E
Tritanopia (blue-blind)
#B82858
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae1f91;
/* rgb */ color: rgb(174, 31, 145);
/* oklch */ color: oklch(52.1% 0.208 338.3);
Tailwind
colors: {
  custom: {
    50: '#ca6eb1',
    500: '#ae1f91',
    950: '#000000',
  },
}
SCSS
$custom: #ae1f91;
$custom-light: #ca6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1f91",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 312.168,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.20788,
    "h": 338.3
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#AE1F91
secondary
#60C875
accent
#ED5F3B
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140811
muted
#837B80

Preview Lab

Preview with #AE1F91

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

Preview Lab → · Contrast checker → · Palette generator →

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