#AE2F6C#AE2F6C

#AE2F6C is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.171 H 355.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AE2F6C
RGBrgb(174, 47, 108)
HSLhsl(331, 57%, 43%)
HSVhsv(331, 73%, 68%)
CMYKcmyk(0%, 73%, 37.9%, 31.8%)
CIE-LABlab(41.40, 55.71, -5.25)
CIE-LCHlch(41.40, 55.96, 354.61°)
OKLaboklab(51.74% 0.1709 -0.0131)
OKLCHoklch(51.74% 0.171 355.6)
XYZxyz(21.1802, 12.1170, 15.4079)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F6C #2FAE71
analogous
#AE2FAB #AE2F6C #AE312F
triadic
#AE2F6C #6CAE2F #2F6CAE
tetradic
#AE2F6C #ABAE2F #2FAE71 #312FAE
square
#AE2F6C #ABAE2F #2FAE71 #312FAE
split-complementary
#AE2F6C #2FAE31 #2FABAE
monochromatic
#4E1530 #7E224E #AE2F6C #CF4C8B #DC7CAA

Accessibility & contrast

On white

6.14
#AE2F6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AE2F6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F6C
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F6C#FFFFFF#000000##FFFFFF
##AE2F6C1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47536E
Deuteranopia (green-blind)
#6B6A69
Tritanopia (blue-blind)
#BC2149
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ae2f6c;
/* rgb */ color: rgb(174, 47, 108);
/* oklch */ color: oklch(51.7% 0.171 355.6);
Tailwind
colors: {
  custom: {
    50: '#cb7296',
    500: '#ae2f6c',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f6c;
$custom-light: #cb7296;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f6c",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 331.181,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.1714,
    "h": 355.6
  },
  "luminance": 0.12114
}

Semantic roles & 50–950 ramp

primary
#AE2F6C
secondary
#75C49E
accent
#E19747
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AE2F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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