#AE2F5A#AE2F5A

#AE2F5A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.165 H 4.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AE2F5A
RGBrgb(174, 47, 90)
HSLhsl(340, 57%, 43%)
HSVhsv(340, 73%, 68%)
CMYKcmyk(0%, 73%, 48.3%, 31.8%)
CIE-LABlab(40.85, 53.92, 5.23)
CIE-LCHlch(40.85, 54.17, 5.54°)
OKLaboklab(51.16% 0.1648 0.0139)
OKLCHoklch(51.16% 0.165 4.8)
XYZxyz(20.3192, 11.7726, 10.8732)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F5A #2FAE83
analogous
#AE2F99 #AE2F5A #AE432F
triadic
#AE2F5A #5AAE2F #2F5AAE
tetradic
#AE2F5A #99AE2F #2FAE83 #432FAE
square
#AE2F5A #99AE2F #2FAE83 #432FAE
split-complementary
#AE2F5A #2FAE43 #2F99AE
monochromatic
#4E1528 #7E2241 #AE2F5A #CF4C78 #DC7C9C

Accessibility & contrast

On white

6.26
#AE2F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AE2F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F5A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F5A#FFFFFF#000000##FFFFFF
##AE2F5A1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D505B
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#BD1741
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ae2f5a;
/* rgb */ color: rgb(174, 47, 90);
/* oklch */ color: oklch(51.2% 0.165 4.8);
Tailwind
colors: {
  custom: {
    50: '#cc7288',
    500: '#ae2f5a',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f5a;
$custom-light: #cc7288;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f5a",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 339.685,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.16539,
    "h": 4.8
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#AE2F5A
secondary
#75C4A9
accent
#E1AD47
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AE2F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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