#AE2F78#AE2F78

#AE2F78 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.177 H 349.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AE2F78
RGBrgb(174, 47, 120)
HSLhsl(326, 57%, 43%)
HSVhsv(326, 73%, 68%)
CMYKcmyk(0%, 73%, 31%, 31.8%)
CIE-LABlab(41.83, 57.09, -12.07)
CIE-LCHlch(41.83, 58.35, 348.07°)
OKLaboklab(52.19% 0.1743 -0.0315)
OKLCHoklch(52.19% 0.177 349.8)
XYZxyz(21.8634, 12.3902, 19.0058)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F78 #2FAE65
analogous
#A42FAE #AE2F78 #AE2F38
triadic
#AE2F78 #78AE2F #2F78AE
tetradic
#AE2F78 #AEA42F #2FAE65 #2F38AE
square
#AE2F78 #AEA42F #2FAE65 #2F38AE
split-complementary
#AE2F78 #38AE2F #2FAEA4
monochromatic
#4E1536 #7E2257 #AE2F78 #CF4C97 #DC7CB3

Accessibility & contrast

On white

6.04
#AE2F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AE2F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F78
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F78#FFFFFF#000000##FFFFFF
##AE2F781.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43547A
Deuteranopia (green-blind)
#686B75
Tritanopia (blue-blind)
#BB284F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae2f78;
/* rgb */ color: rgb(174, 47, 120);
/* oklch */ color: oklch(52.2% 0.177 349.8);
Tailwind
colors: {
  custom: {
    50: '#ca739f',
    500: '#ae2f78',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f78;
$custom-light: #ca739f;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f78",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 325.512,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52194,
    "c": 0.1771,
    "h": 349.8
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#AE2F78
secondary
#75C496
accent
#E18847
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AE2F78

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

Preview Lab → · Contrast checker → · Palette generator →

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