#AE1F88#AE1F88

#AE1F88 is a mid, highly saturated pink. Relative luminance 0.118; OKLCH L 51.7% C 0.202 H 341.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AE1F88
RGBrgb(174, 31, 136)
HSLhsl(316, 70%, 40%)
HSVhsv(316, 82%, 68%)
CMYKcmyk(0%, 82.2%, 21.8%, 31.8%)
CIE-LABlab(40.83, 63.84, -23.46)
CIE-LCHlch(40.83, 68.02, 339.82°)
OKLaboklab(51.69% 0.1921 -0.0631)
OKLCHoklch(51.69% 0.202 341.8)
XYZxyz(22.3903, 11.7586, 24.3783)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1F88 #1FAE45
analogous
#8C1FAE #AE1F88 #AE1F41
triadic
#AE1F88 #88AE1F #1F88AE
tetradic
#AE1F88 #AE8C1F #1FAE45 #1F41AE
square
#AE1F88 #AE8C1F #1FAE45 #1F41AE
split-complementary
#AE1F88 #41AE1F #1FAE8C
monochromatic
#460C37 #7A165F #AE1F88 #DA30AD #E364C2

Accessibility & contrast

On white

6.27
#AE1F88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AE1F88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1F88
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1F88#FFFFFF#000000##FFFFFF
##AE1F881.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528B
Deuteranopia (green-blind)
#5E6885
Tritanopia (blue-blind)
#B92253
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ae1f88;
/* rgb */ color: rgb(174, 31, 136);
/* oklch */ color: oklch(51.7% 0.202 341.8);
Tailwind
colors: {
  custom: {
    50: '#cb6dab',
    500: '#ae1f88',
    950: '#000000',
  },
}
SCSS
$custom: #ae1f88;
$custom-light: #cb6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1f88",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 315.944,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51686,
    "c": 0.20224,
    "h": 341.8
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#AE1F88
secondary
#60C87C
accent
#ED6A3B
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE1F88

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

Preview Lab → · Contrast checker → · Palette generator →

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