#AE2798#AE2798

#AE2798 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.205 H 335.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AE2798
RGBrgb(174, 39, 152)
HSLhsl(310, 63%, 42%)
HSVhsv(310, 78%, 68%)
CMYKcmyk(0%, 77.6%, 12.6%, 31.8%)
CIE-LABlab(42.34, 63.91, -30.85)
CIE-LCHlch(42.34, 70.97, 334.24°)
OKLaboklab(53.02% 0.1874 -0.0842)
OKLCHoklch(53.02% 0.205 335.8)
XYZxyz(23.8490, 12.7189, 30.8986)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2798 #27AE3D
analogous
#8127AE #AE2798 #AE2755
triadic
#AE2798 #98AE27 #2798AE
tetradic
#AE2798 #AE8127 #27AE3D #2755AE
square
#AE2798 #AE8127 #27AE3D #2755AE
split-complementary
#AE2798 #55AE27 #27AE81
monochromatic
#4A1141 #7C1C6C #AE2798 #D43EBB #DF70CD

Accessibility & contrast

On white

5.93
#AE2798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AE2798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2798
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2798#FFFFFF#000000##FFFFFF
##AE27981.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#B7325E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae2798;
/* rgb */ color: rgb(174, 39, 152);
/* oklch */ color: oklch(53.0% 0.205 335.8);
Tailwind
colors: {
  custom: {
    50: '#ca71b6',
    500: '#ae2798',
    950: '#000000',
  },
}
SCSS
$custom: #ae2798;
$custom-light: #ca71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2798",
  "rgb": {
    "r": 174,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 309.778,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.20544,
    "h": 335.8
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#AE2798
secondary
#6BC67A
accent
#E65C41
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE2798

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

Preview Lab → · Contrast checker → · Palette generator →

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