#AE2D98#AE2D98

#AE2D98 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.5% C 0.199 H 335.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AE2D98
RGBrgb(174, 45, 152)
HSLhsl(310, 59%, 43%)
HSVhsv(310, 74%, 68%)
CMYKcmyk(0%, 74.1%, 12.6%, 31.8%)
CIE-LABlab(42.98, 62.08, -29.84)
CIE-LCHlch(42.98, 68.87, 334.33°)
OKLaboklab(53.48% 0.1819 -0.0814)
OKLCHoklch(53.48% 0.199 335.9)
XYZxyz(24.0618, 13.1446, 30.9696)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2D98 #2DAE43
analogous
#842DAE #AE2D98 #AE2D57
triadic
#AE2D98 #98AE2D #2D98AE
tetradic
#AE2D98 #AE842D #2DAE43 #2D57AE
square
#AE2D98 #AE842D #2DAE43 #2D57AE
split-complementary
#AE2D98 #57AE2D #2DAE84
monochromatic
#4D1443 #7D206E #AE2D98 #D048B9 #DC79CB

Accessibility & contrast

On white

5.79
#AE2D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AE2D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2D98
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2D98#FFFFFF#000000##FFFFFF
##AE2D981.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#5C6C95
Tritanopia (blue-blind)
#B7375F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae2d98;
/* rgb */ color: rgb(174, 45, 152);
/* oklch */ color: oklch(53.5% 0.199 335.9);
Tailwind
colors: {
  custom: {
    50: '#ca73b6',
    500: '#ae2d98',
    950: '#000000',
  },
}
SCSS
$custom: #ae2d98;
$custom-light: #ca73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2d98",
  "rgb": {
    "r": 174,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 310.233,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53483,
    "c": 0.19928,
    "h": 335.9
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#AE2D98
secondary
#72C480
accent
#E26046
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE2D98

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

Preview Lab → · Contrast checker → · Palette generator →

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