#AE2F71#AE2F71

#AE2F71 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.174 H 353.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AE2F71
RGBrgb(174, 47, 113)
HSLhsl(329, 57%, 43%)
HSVhsv(329, 73%, 68%)
CMYKcmyk(0%, 73%, 35.1%, 31.8%)
CIE-LABlab(41.57, 56.27, -8.11)
CIE-LCHlch(41.57, 56.85, 351.80°)
OKLaboklab(51.92% 0.1724 -0.0208)
OKLCHoklch(51.92% 0.174 353.1)
XYZxyz(21.4540, 12.2265, 16.8497)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F71 #2FAE6C
analogous
#AB2FAE #AE2F71 #AE2F31
triadic
#AE2F71 #71AE2F #2F71AE
tetradic
#AE2F71 #AEAB2F #2FAE6C #2F31AE
square
#AE2F71 #AEAB2F #2FAE6C #2F31AE
split-complementary
#AE2F71 #31AE2F #2FAEAB
monochromatic
#4E1532 #7E2252 #AE2F71 #CF4C90 #DC7CAE

Accessibility & contrast

On white

6.10
#AE2F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AE2F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F71
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F71#FFFFFF#000000##FFFFFF
##AE2F711.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465373
Deuteranopia (green-blind)
#696A6E
Tritanopia (blue-blind)
#BB244C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ae2f71;
/* rgb */ color: rgb(174, 47, 113);
/* oklch */ color: oklch(51.9% 0.174 353.1);
Tailwind
colors: {
  custom: {
    50: '#cb7399',
    500: '#ae2f71',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f71;
$custom-light: #cb7399;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f71",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 328.819,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51923,
    "c": 0.17363,
    "h": 353.1
  },
  "luminance": 0.12224
}

Semantic roles & 50–950 ramp

primary
#AE2F71
secondary
#75C49B
accent
#E19147
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AE2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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