#AE1F8C#AE1F8C

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

Color values

HEX#AE1F8C
RGBrgb(174, 31, 140)
HSLhsl(314, 70%, 40%)
HSVhsv(314, 82%, 68%)
CMYKcmyk(0%, 82.2%, 19.5%, 31.8%)
CIE-LABlab(41.02, 64.37, -25.62)
CIE-LCHlch(41.02, 69.28, 338.29°)
OKLaboklab(51.88% 0.1926 -0.0693)
OKLCHoklch(51.88% 0.205 340.2)
XYZxyz(22.6799, 11.8745, 25.9034)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1F8C #1FAE41
analogous
#891FAE #AE1F8C #AE1F44
triadic
#AE1F8C #8CAE1F #1F8CAE
tetradic
#AE1F8C #AE891F #1FAE41 #1F44AE
square
#AE1F8C #AE891F #1FAE41 #1F44AE
split-complementary
#AE1F8C #44AE1F #1FAE89
monochromatic
#460C38 #7A1662 #AE1F8C #DA30B2 #E364C5

Accessibility & contrast

On white

6.22
#AE1F8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AE1F8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1F8C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1F8C#FFFFFF#000000##FFFFFF
##AE1F8C1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528F
Deuteranopia (green-blind)
#5C6989
Tritanopia (blue-blind)
#B92555
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae1f8c;
/* rgb */ color: rgb(174, 31, 140);
/* oklch */ color: oklch(51.9% 0.205 340.2);
Tailwind
colors: {
  custom: {
    50: '#ca6eae',
    500: '#ae1f8c',
    950: '#000000',
  },
}
SCSS
$custom: #ae1f8c;
$custom-light: #ca6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1f8c",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 314.266,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51881,
    "c": 0.2047,
    "h": 340.2
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

primary
#AE1F8C
secondary
#60C879
accent
#ED653B
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE1F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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