#AE2898#AE2898

#AE2898 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.204 H 335.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AE2898
RGBrgb(174, 40, 152)
HSLhsl(310, 63%, 42%)
HSVhsv(310, 77%, 68%)
CMYKcmyk(0%, 77%, 12.6%, 31.8%)
CIE-LABlab(42.44, 63.62, -30.69)
CIE-LCHlch(42.44, 70.64, 334.25°)
OKLaboklab(53.09% 0.1865 -0.0838)
OKLCHoklch(53.09% 0.204 335.8)
XYZxyz(23.8822, 12.7855, 30.9097)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2898 #28AE3E
analogous
#8128AE #AE2898 #AE2855
triadic
#AE2898 #98AE28 #2898AE
tetradic
#AE2898 #AE8128 #28AE3E #2855AE
square
#AE2898 #AE8128 #28AE3E #2855AE
split-complementary
#AE2898 #55AE28 #28AE81
monochromatic
#4A1141 #7C1D6D #AE2898 #D340BB #DF72CD

Accessibility & contrast

On white

5.90
#AE2898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AE2898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2898
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2898#FFFFFF#000000##FFFFFF
##AE28981.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae2898;
/* rgb */ color: rgb(174, 40, 152);
/* oklch */ color: oklch(53.1% 0.204 335.8);
Tailwind
colors: {
  custom: {
    50: '#ca71b6',
    500: '#ae2898',
    950: '#000000',
  },
}
SCSS
$custom: #ae2898;
$custom-light: #ca71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2898",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 309.851,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.20446,
    "h": 335.8
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#AE2898
secondary
#6CC67B
accent
#E65D42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE2898

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

Preview Lab → · Contrast checker → · Palette generator →

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