#AE1F8F#AE1F8F

#AE1F8F is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.0% C 0.207 H 339.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AE1F8F
RGBrgb(174, 31, 143)
HSLhsl(313, 70%, 40%)
HSVhsv(313, 82%, 68%)
CMYKcmyk(0%, 82.2%, 17.8%, 31.8%)
CIE-LABlab(41.16, 64.77, -27.23)
CIE-LCHlch(41.16, 70.26, 337.20°)
OKLaboklab(52.03% 0.193 -0.0738)
OKLCHoklch(52.03% 0.207 339.1)
XYZxyz(22.9041, 11.9641, 27.0844)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1F8F #1FAE3E
analogous
#851FAE #AE1F8F #AE1F47
triadic
#AE1F8F #8FAE1F #1F8FAE
tetradic
#AE1F8F #AE851F #1FAE3E #1F47AE
square
#AE1F8F #AE851F #1FAE3E #1F47AE
split-complementary
#AE1F8F #47AE1F #1FAE85
monochromatic
#460C3A #7A1664 #AE1F8F #DA30B5 #E364C8

Accessibility & contrast

On white

6.19
#AE1F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AE1F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1F8F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1F8F#FFFFFF#000000##FFFFFF
##AE1F8F1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#5B698C
Tritanopia (blue-blind)
#B82757
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae1f8f;
/* rgb */ color: rgb(174, 31, 143);
/* oklch */ color: oklch(52.0% 0.207 339.1);
Tailwind
colors: {
  custom: {
    50: '#ca6eb0',
    500: '#ae1f8f',
    950: '#000000',
  },
}
SCSS
$custom: #ae1f8f;
$custom-light: #ca6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1f8f",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 313.007,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5203,
    "c": 0.2066,
    "h": 339.1
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#AE1F8F
secondary
#60C877
accent
#ED623B
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE1F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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