#AE2F7C#AE2F7C

#AE2F7C is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.179 H 347.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AE2F7C
RGBrgb(174, 47, 124)
HSLhsl(324, 57%, 43%)
HSVhsv(324, 73%, 68%)
CMYKcmyk(0%, 73%, 28.7%, 31.8%)
CIE-LABlab(41.98, 57.58, -14.30)
CIE-LCHlch(41.98, 59.33, 346.05°)
OKLaboklab(52.36% 0.1752 -0.0377)
OKLCHoklch(52.36% 0.179 347.9)
XYZxyz(22.1112, 12.4894, 20.3111)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F7C #2FAE61
analogous
#A02FAE #AE2F7C #AE2F3C
triadic
#AE2F7C #7CAE2F #2F7CAE
tetradic
#AE2F7C #AEA02F #2FAE61 #2F3CAE
square
#AE2F7C #AEA02F #2FAE61 #2F3CAE
split-complementary
#AE2F7C #3CAE2F #2FAEA0
monochromatic
#4E1537 #7E225A #AE2F7C #CF4C9B #DC7CB6

Accessibility & contrast

On white

6.00
#AE2F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AE2F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F7C
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F7C#FFFFFF#000000##FFFFFF
##AE2F7C1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557E
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#BA2A51
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae2f7c;
/* rgb */ color: rgb(174, 47, 124);
/* oklch */ color: oklch(52.4% 0.179 347.9);
Tailwind
colors: {
  custom: {
    50: '#ca73a2',
    500: '#ae2f7c',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f7c;
$custom-light: #ca73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f7c",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 323.622,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52357,
    "c": 0.17924,
    "h": 347.9
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#AE2F7C
secondary
#75C494
accent
#E18447
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AE2F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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