#AE2F5F#AE2F5F

#AE2F5F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.167 H 2.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AE2F5F
RGBrgb(174, 47, 95)
HSLhsl(337, 57%, 43%)
HSVhsv(337, 73%, 68%)
CMYKcmyk(0%, 73%, 45.4%, 31.8%)
CIE-LABlab(40.99, 54.38, 2.29)
CIE-LCHlch(40.99, 54.43, 2.41°)
OKLaboklab(51.31% 0.1666 0.0065)
OKLCHoklch(51.31% 0.167 2.2)
XYZxyz(20.5392, 11.8606, 12.0320)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F5F #2FAE7E
analogous
#AE2F9E #AE2F5F #AE3E2F
triadic
#AE2F5F #5FAE2F #2F5FAE
tetradic
#AE2F5F #9EAE2F #2FAE7E #3E2FAE
square
#AE2F5F #9EAE2F #2FAE7E #3E2FAE
split-complementary
#AE2F5F #2FAE3E #2F9EAE
monochromatic
#4E152A #7E2245 #AE2F5F #CF4C7D #DC7CA0

Accessibility & contrast

On white

6.23
#AE2F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE2F5F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F5F#FFFFFF#000000##FFFFFF
##AE2F5F1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5160
Deuteranopia (green-blind)
#6D6A5C
Tritanopia (blue-blind)
#BD1A43
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae2f5f;
/* rgb */ color: rgb(174, 47, 95);
/* oklch */ color: oklch(51.3% 0.167 2.2);
Tailwind
colors: {
  custom: {
    50: '#cb728c',
    500: '#ae2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f5f;
$custom-light: #cb728c;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f5f",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 337.323,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51306,
    "c": 0.16673,
    "h": 2.2
  },
  "luminance": 0.11858
}

Semantic roles & 50–950 ramp

primary
#AE2F5F
secondary
#75C4A6
accent
#E1A747
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AE2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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