#AE1F8D#AE1F8D

#AE1F8D is a mid, highly saturated pink. Relative luminance 0.119; OKLCH L 51.9% C 0.205 H 339.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AE1F8D
RGBrgb(174, 31, 141)
HSLhsl(314, 70%, 40%)
HSVhsv(314, 82%, 68%)
CMYKcmyk(0%, 82.2%, 19%, 31.8%)
CIE-LABlab(41.06, 64.50, -26.16)
CIE-LCHlch(41.06, 69.60, 337.92°)
OKLaboklab(51.93% 0.1927 -0.0708)
OKLCHoklch(51.93% 0.205 339.8)
XYZxyz(22.7540, 11.9041, 26.2935)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1F8D #1FAE40
analogous
#871FAE #AE1F8D #AE1F46
triadic
#AE1F8D #8DAE1F #1F8DAE
tetradic
#AE1F8D #AE871F #1FAE40 #1F46AE
square
#AE1F8D #AE871F #1FAE40 #1F46AE
split-complementary
#AE1F8D #46AE1F #1FAE87
monochromatic
#460C39 #7A1663 #AE1F8D #DA30B3 #E364C6

Accessibility & contrast

On white

6.21
#AE1F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AE1F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1F8D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1F8D#FFFFFF#000000##FFFFFF
##AE1F8D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#5C698A
Tritanopia (blue-blind)
#B92556
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae1f8d;
/* rgb */ color: rgb(174, 31, 141);
/* oklch */ color: oklch(51.9% 0.205 339.8);
Tailwind
colors: {
  custom: {
    50: '#ca6eae',
    500: '#ae1f8d',
    950: '#000000',
  },
}
SCSS
$custom: #ae1f8d;
$custom-light: #ca6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1f8d",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 313.846,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5193,
    "c": 0.20533,
    "h": 339.8
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE1F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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