#AE1F82#AE1F82

#AE1F82 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.4% C 0.199 H 344.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AE1F82
RGBrgb(174, 31, 130)
HSLhsl(318, 70%, 40%)
HSVhsv(318, 82%, 68%)
CMYKcmyk(0%, 82.2%, 25.3%, 31.8%)
CIE-LABlab(40.56, 63.08, -20.19)
CIE-LCHlch(40.56, 66.23, 342.26°)
OKLaboklab(51.41% 0.1912 -0.0539)
OKLCHoklch(51.41% 0.199 344.3)
XYZxyz(21.9758, 11.5928, 22.1951)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1F82 #1FAE4B
analogous
#931FAE #AE1F82 #AE1F3A
triadic
#AE1F82 #82AE1F #1F82AE
tetradic
#AE1F82 #AE931F #1FAE4B #1F3AAE
square
#AE1F82 #AE931F #1FAE4B #1F3AAE
split-complementary
#AE1F82 #3AAE1F #1FAE93
monochromatic
#460C34 #7A165B #AE1F82 #DA30A6 #E364BC

Accessibility & contrast

On white

6.33
#AE1F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AE1F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1F82
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1F82#FFFFFF#000000##FFFFFF
##AE1F821.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335184
Deuteranopia (green-blind)
#60687F
Tritanopia (blue-blind)
#BA1D50
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ae1f82;
/* rgb */ color: rgb(174, 31, 130);
/* oklch */ color: oklch(51.4% 0.199 344.3);
Tailwind
colors: {
  custom: {
    50: '#cb6da6',
    500: '#ae1f82',
    950: '#000000',
  },
}
SCSS
$custom: #ae1f82;
$custom-light: #cb6da6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1f82",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 318.462,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.19868,
    "h": 344.3
  },
  "luminance": 0.1159
}

Semantic roles & 50–950 ramp

primary
#AE1F82
secondary
#60C880
accent
#ED723B
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AE1F82

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

Preview Lab → · Contrast checker → · Palette generator →

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