#AE2F8E#AE2F8E

#AE2F8E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.190 H 340.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AE2F8E
RGBrgb(174, 47, 142)
HSLhsl(315, 57%, 43%)
HSVhsv(315, 73%, 68%)
CMYKcmyk(0%, 73%, 18.4%, 31.8%)
CIE-LABlab(42.74, 59.97, -24.16)
CIE-LCHlch(42.74, 64.65, 338.06°)
OKLaboklab(53.16% 0.1787 -0.0652)
OKLCHoklch(53.16% 0.19 340)
XYZxyz(23.3552, 12.9870, 26.8627)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F8E #2FAE4F
analogous
#8E2FAE #AE2F8E #AE2F4E
triadic
#AE2F8E #8EAE2F #2F8EAE
tetradic
#AE2F8E #AE8E2F #2FAE4F #2F4EAE
square
#AE2F8E #AE8E2F #2FAE4F #2F4EAE
split-complementary
#AE2F8E #4EAE2F #2FAE8E
monochromatic
#4E153F #7E2267 #AE2F8E #CF4CAE #DC7CC3

Accessibility & contrast

On white

5.84
#AE2F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AE2F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F8E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F8E#FFFFFF#000000##FFFFFF
##AE2F8E1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385891
Deuteranopia (green-blind)
#616C8B
Tritanopia (blue-blind)
#B8335B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae2f8e;
/* rgb */ color: rgb(174, 47, 142);
/* oklch */ color: oklch(53.2% 0.190 340.0);
Tailwind
colors: {
  custom: {
    50: '#ca74af',
    500: '#ae2f8e',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f8e;
$custom-light: #ca74af;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f8e",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 315.118,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53158,
    "c": 0.19023,
    "h": 340
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#AE2F8E
secondary
#75C489
accent
#E16E47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE2F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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