#AE2E98#AE2E98

#AE2E98 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.6% C 0.198 H 335.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AE2E98
RGBrgb(174, 46, 152)
HSLhsl(310, 58%, 43%)
HSVhsv(310, 74%, 68%)
CMYKcmyk(0%, 73.6%, 12.6%, 31.8%)
CIE-LABlab(43.10, 61.75, -29.66)
CIE-LCHlch(43.10, 68.50, 334.34°)
OKLaboklab(53.57% 0.1809 -0.0809)
OKLCHoklch(53.57% 0.198 335.9)
XYZxyz(24.1004, 13.2218, 30.9825)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2E98 #2EAE44
analogous
#842EAE #AE2E98 #AE2E58
triadic
#AE2E98 #98AE2E #2E98AE
tetradic
#AE2E98 #AE842E #2EAE44 #2E58AE
square
#AE2E98 #AE842E #2EAE44 #2E58AE
split-complementary
#AE2E98 #58AE2E #2EAE84
monochromatic
#4D1443 #7E216E #AE2E98 #CF4AB8 #DC7ACB

Accessibility & contrast

On white

5.76
#AE2E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AE2E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2E98
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2E98#FFFFFF#000000##FFFFFF
##AE2E981.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9B
Deuteranopia (green-blind)
#5C6D95
Tritanopia (blue-blind)
#B73760
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae2e98;
/* rgb */ color: rgb(174, 46, 152);
/* oklch */ color: oklch(53.6% 0.198 335.9);
Tailwind
colors: {
  custom: {
    50: '#ca73b6',
    500: '#ae2e98',
    950: '#000000',
  },
}
SCSS
$custom: #ae2e98;
$custom-light: #ca73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2e98",
  "rgb": {
    "r": 174,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 310.313,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53566,
    "c": 0.19818,
    "h": 335.9
  },
  "luminance": 0.1322
}

Semantic roles & 50–950 ramp

primary
#AE2E98
secondary
#74C481
accent
#E16146
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE2E98

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

Preview Lab → · Contrast checker → · Palette generator →

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