#AE1F96#AE1F96

#AE1F96 is a mid, highly saturated pink. Relative luminance 0.122; OKLCH L 52.4% C 0.211 H 336.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AE1F96
RGBrgb(174, 31, 150)
HSLhsl(310, 70%, 40%)
HSVhsv(310, 82%, 68%)
CMYKcmyk(0%, 82.2%, 13.8%, 31.8%)
CIE-LABlab(41.51, 65.73, -30.94)
CIE-LCHlch(41.51, 72.65, 334.79°)
OKLaboklab(52.39% 0.1935 -0.0845)
OKLCHoklch(52.39% 0.211 336.4)
XYZxyz(23.4510, 12.1829, 29.9647)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1F96 #1FAE37
analogous
#7E1FAE #AE1F96 #AE1F4E
triadic
#AE1F96 #96AE1F #1F96AE
tetradic
#AE1F96 #AE7E1F #1FAE37 #1F4EAE
square
#AE1F96 #AE7E1F #1FAE37 #1F4EAE
split-complementary
#AE1F96 #4EAE1F #1FAE7E
monochromatic
#460C3C #7A1669 #AE1F96 #DA30BE #E364CE

Accessibility & contrast

On white

6.11
#AE1F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AE1F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1F96
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1F96#FFFFFF#000000##FFFFFF
##AE1F961.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225499
Deuteranopia (green-blind)
#586993
Tritanopia (blue-blind)
#B72B5B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ae1f96;
/* rgb */ color: rgb(174, 31, 150);
/* oklch */ color: oklch(52.4% 0.211 336.4);
Tailwind
colors: {
  custom: {
    50: '#ca6eb5',
    500: '#ae1f96',
    950: '#000000',
  },
}
SCSS
$custom: #ae1f96;
$custom-light: #ca6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1f96",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 310.07,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.21114,
    "h": 336.4
  },
  "luminance": 0.12181
}

Semantic roles & 50–950 ramp

primary
#AE1F96
secondary
#60C872
accent
#ED593B
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #AE1F96

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

Preview Lab → · Contrast checker → · Palette generator →

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