#AE2F5E#AE2F5E

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

Color values

HEX#AE2F5E
RGBrgb(174, 47, 94)
HSLhsl(338, 57%, 43%)
HSVhsv(338, 73%, 68%)
CMYKcmyk(0%, 73%, 46%, 31.8%)
CIE-LABlab(40.96, 54.29, 2.88)
CIE-LCHlch(40.96, 54.36, 3.03°)
OKLaboklab(51.28% 0.1663 0.008)
OKLCHoklch(51.28% 0.166 2.8)
XYZxyz(20.4941, 11.8425, 11.7941)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F5E #2FAE7F
analogous
#AE2F9D #AE2F5E #AE3F2F
triadic
#AE2F5E #5EAE2F #2F5EAE
tetradic
#AE2F5E #9DAE2F #2FAE7F #3F2FAE
square
#AE2F5E #9DAE2F #2FAE7F #3F2FAE
split-complementary
#AE2F5E #2FAE3F #2F9DAE
monochromatic
#4E152A #7E2244 #AE2F5E #CF4C7C #DC7C9F

Accessibility & contrast

On white

6.24
#AE2F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AE2F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F5E
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F5E#FFFFFF#000000##FFFFFF
##AE2F5E1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#6E6A5B
Tritanopia (blue-blind)
#BD1943
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae2f5e;
/* rgb */ color: rgb(174, 47, 94);
/* oklch */ color: oklch(51.3% 0.166 2.8);
Tailwind
colors: {
  custom: {
    50: '#cb728b',
    500: '#ae2f5e',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f5e;
$custom-light: #cb728b;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f5e",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 337.795,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.16644,
    "h": 2.8
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#AE2F5E
secondary
#75C4A7
accent
#E1A847
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AE2F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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