#AE2F81#AE2F81

#AE2F81 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.182 H 345.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AE2F81
RGBrgb(174, 47, 129)
HSLhsl(321, 57%, 43%)
HSVhsv(321, 73%, 68%)
CMYKcmyk(0%, 73%, 25.9%, 31.8%)
CIE-LABlab(42.18, 58.22, -17.08)
CIE-LCHlch(42.18, 60.67, 343.65°)
OKLaboklab(52.57% 0.1764 -0.0453)
OKLCHoklch(52.57% 0.182 345.6)
XYZxyz(22.4355, 12.6191, 22.0188)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F81 #2FAE5C
analogous
#9B2FAE #AE2F81 #AE2F41
triadic
#AE2F81 #81AE2F #2F81AE
tetradic
#AE2F81 #AE9B2F #2FAE5C #2F41AE
square
#AE2F81 #AE9B2F #2FAE5C #2F41AE
split-complementary
#AE2F81 #41AE2F #2FAE9B
monochromatic
#4E153A #7E225D #AE2F81 #CF4CA0 #DC7CBA

Accessibility & contrast

On white

5.96
#AE2F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AE2F81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F81
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F81#FFFFFF#000000##FFFFFF
##AE2F811.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5683
Deuteranopia (green-blind)
#656B7E
Tritanopia (blue-blind)
#BA2C54
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae2f81;
/* rgb */ color: rgb(174, 47, 129);
/* oklch */ color: oklch(52.6% 0.182 345.6);
Tailwind
colors: {
  custom: {
    50: '#ca73a5',
    500: '#ae2f81',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f81;
$custom-light: #ca73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f81",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 321.26,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52568,
    "c": 0.18209,
    "h": 345.6
  },
  "luminance": 0.12617
}

Semantic roles & 50–950 ramp

primary
#AE2F81
secondary
#75C491
accent
#E17E47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AE2F81

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

Preview Lab → · Contrast checker → · Palette generator →

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