#AE2F7A#AE2F7A

#AE2F7A is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.178 H 348.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AE2F7A
RGBrgb(174, 47, 122)
HSLhsl(325, 57%, 43%)
HSVhsv(325, 73%, 68%)
CMYKcmyk(0%, 73%, 29.9%, 31.8%)
CIE-LABlab(41.91, 57.34, -13.19)
CIE-LCHlch(41.91, 58.83, 347.05°)
OKLaboklab(52.28% 0.1748 -0.0346)
OKLCHoklch(52.28% 0.178 348.8)
XYZxyz(21.9860, 12.4393, 19.6518)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F7A #2FAE63
analogous
#A22FAE #AE2F7A #AE2F3A
triadic
#AE2F7A #7AAE2F #2F7AAE
tetradic
#AE2F7A #AEA22F #2FAE63 #2F3AAE
square
#AE2F7A #AEA22F #2FAE63 #2F3AAE
split-complementary
#AE2F7A #3AAE2F #2FAEA2
monochromatic
#4E1536 #7E2258 #AE2F7A #CF4C99 #DC7CB4

Accessibility & contrast

On white

6.02
#AE2F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AE2F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F7A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F7A#FFFFFF#000000##FFFFFF
##AE2F7A1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557C
Deuteranopia (green-blind)
#676B77
Tritanopia (blue-blind)
#BB2950
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae2f7a;
/* rgb */ color: rgb(174, 47, 122);
/* oklch */ color: oklch(52.3% 0.178 348.8);
Tailwind
colors: {
  custom: {
    50: '#ca73a0',
    500: '#ae2f7a',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f7a;
$custom-light: #ca73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f7a",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 324.567,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52275,
    "c": 0.17816,
    "h": 348.8
  },
  "luminance": 0.12437
}

Semantic roles & 50–950 ramp

primary
#AE2F7A
secondary
#75C495
accent
#E18647
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AE2F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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