#AE1F8B#AE1F8B

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

Color values

HEX#AE1F8B
RGBrgb(174, 31, 139)
HSLhsl(315, 70%, 40%)
HSVhsv(315, 82%, 68%)
CMYKcmyk(0%, 82.2%, 20.1%, 31.8%)
CIE-LABlab(40.97, 64.24, -25.08)
CIE-LCHlch(40.97, 68.96, 338.67°)
OKLaboklab(51.83% 0.1925 -0.0677)
OKLCHoklch(51.83% 0.204 340.6)
XYZxyz(22.6065, 11.8451, 25.5169)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1F8B #1FAE42
analogous
#891FAE #AE1F8B #AE1F44
triadic
#AE1F8B #8BAE1F #1F8BAE
tetradic
#AE1F8B #AE891F #1FAE42 #1F44AE
square
#AE1F8B #AE891F #1FAE42 #1F44AE
split-complementary
#AE1F8B #44AE1F #1FAE89
monochromatic
#460C38 #7A1662 #AE1F8B #DA30B1 #E364C4

Accessibility & contrast

On white

6.23
#AE1F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE1F8B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1F8B#FFFFFF#000000##FFFFFF
##AE1F8B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528E
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#B92455
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae1f8b;
/* rgb */ color: rgb(174, 31, 139);
/* oklch */ color: oklch(51.8% 0.204 340.6);
Tailwind
colors: {
  custom: {
    50: '#ca6dad',
    500: '#ae1f8b',
    950: '#000000',
  },
}
SCSS
$custom: #ae1f8b;
$custom-light: #ca6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1f8b",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 314.685,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.20409,
    "h": 340.6
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#AE1F8B
secondary
#60C87A
accent
#ED673B
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE1F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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