#AE1F87#AE1F87

#AE1F87 is a mid, highly saturated pink. Relative luminance 0.117; OKLCH L 51.6% C 0.202 H 342.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AE1F87
RGBrgb(174, 31, 135)
HSLhsl(316, 70%, 40%)
HSVhsv(316, 82%, 68%)
CMYKcmyk(0%, 82.2%, 22.4%, 31.8%)
CIE-LABlab(40.78, 63.72, -22.92)
CIE-LCHlch(40.78, 67.71, 340.22°)
OKLaboklab(51.64% 0.192 -0.0616)
OKLCHoklch(51.64% 0.202 342.2)
XYZxyz(22.3196, 11.7303, 24.0057)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1F87 #1FAE46
analogous
#8E1FAE #AE1F87 #AE1F3F
triadic
#AE1F87 #87AE1F #1F87AE
tetradic
#AE1F87 #AE8E1F #1FAE46 #1F3FAE
square
#AE1F87 #AE8E1F #1FAE46 #1F3FAE
split-complementary
#AE1F87 #3FAE1F #1FAE8E
monochromatic
#460C36 #7A165F #AE1F87 #DA30AC #E364C1

Accessibility & contrast

On white

6.28
#AE1F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AE1F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1F87
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1F87#FFFFFF#000000##FFFFFF
##AE1F871.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30518A
Deuteranopia (green-blind)
#5E6884
Tritanopia (blue-blind)
#B92152
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ae1f87;
/* rgb */ color: rgb(174, 31, 135);
/* oklch */ color: oklch(51.6% 0.202 342.2);
Tailwind
colors: {
  custom: {
    50: '#cb6daa',
    500: '#ae1f87',
    950: '#000000',
  },
}
SCSS
$custom: #ae1f87;
$custom-light: #cb6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1f87",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 316.364,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.20164,
    "h": 342.2
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#AE1F87
secondary
#60C87D
accent
#ED6C3B
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE1F87

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

Preview Lab → · Contrast checker → · Palette generator →

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