#AE2797#AE2797

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

Color values

HEX#AE2797
RGBrgb(174, 39, 151)
HSLhsl(310, 63%, 42%)
HSVhsv(310, 78%, 68%)
CMYKcmyk(0%, 77.6%, 13.2%, 31.8%)
CIE-LABlab(42.29, 63.77, -30.32)
CIE-LCHlch(42.29, 70.61, 334.57°)
OKLaboklab(52.97% 0.1873 -0.0827)
OKLCHoklch(52.97% 0.205 336.2)
XYZxyz(23.7674, 12.6863, 30.4691)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2797 #27AE3E
analogous
#8227AE #AE2797 #AE2754
triadic
#AE2797 #97AE27 #2797AE
tetradic
#AE2797 #AE8227 #27AE3E #2754AE
square
#AE2797 #AE8227 #27AE3E #2754AE
split-complementary
#AE2797 #54AE27 #27AE82
monochromatic
#4A1140 #7C1C6C #AE2797 #D43EBA #DF70CC

Accessibility & contrast

On white

5.94
#AE2797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE2797
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2797#FFFFFF#000000##FFFFFF
##AE27971.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#5A6B94
Tritanopia (blue-blind)
#B7325D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae2797;
/* rgb */ color: rgb(174, 39, 151);
/* oklch */ color: oklch(53.0% 0.205 336.2);
Tailwind
colors: {
  custom: {
    50: '#ca71b6',
    500: '#ae2797',
    950: '#000000',
  },
}
SCSS
$custom: #ae2797;
$custom-light: #ca71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2797",
  "rgb": {
    "r": 174,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 310.222,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52967,
    "c": 0.20475,
    "h": 336.2
  },
  "luminance": 0.12684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE2797

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

Preview Lab → · Contrast checker → · Palette generator →

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