#AE2F5C#AE2F5C

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

Color values

HEX#AE2F5C
RGBrgb(174, 47, 92)
HSLhsl(339, 57%, 43%)
HSVhsv(339, 73%, 68%)
CMYKcmyk(0%, 73%, 47.1%, 31.8%)
CIE-LABlab(40.91, 54.10, 4.05)
CIE-LCHlch(40.91, 54.25, 4.28°)
OKLaboklab(51.22% 0.1655 0.011)
OKLCHoklch(51.22% 0.166 3.8)
XYZxyz(20.4055, 11.8071, 11.3276)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F5C #2FAE81
analogous
#AE2F9B #AE2F5C #AE412F
triadic
#AE2F5C #5CAE2F #2F5CAE
tetradic
#AE2F5C #9BAE2F #2FAE81 #412FAE
square
#AE2F5C #9BAE2F #2FAE81 #412FAE
split-complementary
#AE2F5C #2FAE41 #2F9BAE
monochromatic
#4E1529 #7E2243 #AE2F5C #CF4C7A #DC7C9E

Accessibility & contrast

On white

6.25
#AE2F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AE2F5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F5C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F5C#FFFFFF#000000##FFFFFF
##AE2F5C1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515D
Deuteranopia (green-blind)
#6E6A59
Tritanopia (blue-blind)
#BD1842
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ae2f5c;
/* rgb */ color: rgb(174, 47, 92);
/* oklch */ color: oklch(51.2% 0.166 3.8);
Tailwind
colors: {
  custom: {
    50: '#cc7289',
    500: '#ae2f5c',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f5c;
$custom-light: #cc7289;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f5c",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 338.74,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51215,
    "c": 0.16589,
    "h": 3.8
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#AE2F5C
secondary
#75C4A8
accent
#E1AA47
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AE2F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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