#AE1F8A#AE1F8A

#AE1F8A is a mid, highly saturated pink. Relative luminance 0.118; OKLCH L 51.8% C 0.203 H 341.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AE1F8A
RGBrgb(174, 31, 138)
HSLhsl(315, 70%, 40%)
HSVhsv(315, 82%, 68%)
CMYKcmyk(0%, 82.2%, 20.7%, 31.8%)
CIE-LABlab(40.92, 64.10, -24.54)
CIE-LCHlch(40.92, 68.64, 339.05°)
OKLaboklab(51.78% 0.1924 -0.0662)
OKLCHoklch(51.78% 0.203 341)
XYZxyz(22.5338, 11.8160, 25.1338)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1F8A #1FAE43
analogous
#8A1FAE #AE1F8A #AE1F42
triadic
#AE1F8A #8AAE1F #1F8AAE
tetradic
#AE1F8A #AE8A1F #1FAE43 #1F42AE
square
#AE1F8A #AE8A1F #1FAE43 #1F42AE
split-complementary
#AE1F8A #42AE1F #1FAE8A
monochromatic
#460C38 #7A1661 #AE1F8A #DA30AF #E364C3

Accessibility & contrast

On white

6.24
#AE1F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AE1F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1F8A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1F8A#FFFFFF#000000##FFFFFF
##AE1F8A1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#5D6887
Tritanopia (blue-blind)
#B92354
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ae1f8a;
/* rgb */ color: rgb(174, 31, 138);
/* oklch */ color: oklch(51.8% 0.203 341.0);
Tailwind
colors: {
  custom: {
    50: '#cb6dac',
    500: '#ae1f8a',
    950: '#000000',
  },
}
SCSS
$custom: #ae1f8a;
$custom-light: #cb6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1f8a",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 315.105,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51783,
    "c": 0.20346,
    "h": 341
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#AE1F8A
secondary
#60C87B
accent
#ED683B
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE1F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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