#AE2F7D#AE2F7D

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

Color values

HEX#AE2F7D
RGBrgb(174, 47, 125)
HSLhsl(323, 57%, 43%)
HSVhsv(323, 73%, 68%)
CMYKcmyk(0%, 73%, 28.2%, 31.8%)
CIE-LABlab(42.02, 57.71, -14.86)
CIE-LCHlch(42.02, 59.59, 345.56°)
OKLaboklab(52.4% 0.1755 -0.0392)
OKLCHoklch(52.4% 0.18 347.4)
XYZxyz(22.1748, 12.5148, 20.6459)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F7D #2FAE60
analogous
#9F2FAE #AE2F7D #AE2F3D
triadic
#AE2F7D #7DAE2F #2F7DAE
tetradic
#AE2F7D #AE9F2F #2FAE60 #2F3DAE
square
#AE2F7D #AE9F2F #2FAE60 #2F3DAE
split-complementary
#AE2F7D #3DAE2F #2FAE9F
monochromatic
#4E1538 #7E225A #AE2F7D #CF4C9C #DC7CB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE2F7D#FFFFFF#000000##FFFFFF
##AE2F7D1.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)
#41557F
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#BA2A52
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae2f7d;
/* rgb */ color: rgb(174, 47, 125);
/* oklch */ color: oklch(52.4% 0.180 347.4);
Tailwind
colors: {
  custom: {
    50: '#ca73a2',
    500: '#ae2f7d',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f7d;
$custom-light: #ca73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f7d",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 323.15,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.1798,
    "h": 347.4
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#AE2F7D
secondary
#75C493
accent
#E18247
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AE2F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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