#AE2872#AE2872

#AE2872 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.182 H 351.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AE2872
RGBrgb(174, 40, 114)
HSLhsl(327, 63%, 42%)
HSVhsv(327, 77%, 68%)
CMYKcmyk(0%, 77%, 34.5%, 31.8%)
CIE-LABlab(40.79, 58.70, -9.91)
CIE-LCHlch(40.79, 59.53, 350.42°)
OKLaboklab(51.36% 0.18 -0.0256)
OKLCHoklch(51.36% 0.182 351.9)
XYZxyz(21.2529, 11.7337, 17.0620)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2872 #28AE64
analogous
#A728AE #AE2872 #AE282F
triadic
#AE2872 #72AE28 #2872AE
tetradic
#AE2872 #AEA728 #28AE64 #282FAE
square
#AE2872 #AEA728 #28AE64 #282FAE
split-complementary
#AE2872 #2FAE28 #28AEA7
monochromatic
#4A1131 #7C1D51 #AE2872 #D34091 #DF72AE

Accessibility & contrast

On white

6.28
#AE2872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AE2872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2872
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2872#FFFFFF#000000##FFFFFF
##AE28721.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415174
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#BB1C4A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ae2872;
/* rgb */ color: rgb(174, 40, 114);
/* oklch */ color: oklch(51.4% 0.182 351.9);
Tailwind
colors: {
  custom: {
    50: '#cb709a',
    500: '#ae2872',
    950: '#000000',
  },
}
SCSS
$custom: #ae2872;
$custom-light: #cb709a;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2872",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 326.866,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51361,
    "c": 0.18177,
    "h": 351.9
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#AE2872
secondary
#6CC694
accent
#E68B42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AE2872

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

Preview Lab → · Contrast checker → · Palette generator →

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