#AE2F8D#AE2F8D

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

Color values

HEX#AE2F8D
RGBrgb(174, 47, 141)
HSLhsl(316, 57%, 43%)
HSVhsv(316, 73%, 68%)
CMYKcmyk(0%, 73%, 19%, 31.8%)
CIE-LABlab(42.70, 59.83, -23.62)
CIE-LCHlch(42.70, 64.32, 338.46°)
OKLaboklab(53.11% 0.1785 -0.0637)
OKLCHoklch(53.11% 0.19 340.4)
XYZxyz(23.2804, 12.9571, 26.4690)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F8D #2FAE50
analogous
#8F2FAE #AE2F8D #AE2F4D
triadic
#AE2F8D #8DAE2F #2F8DAE
tetradic
#AE2F8D #AE8F2F #2FAE50 #2F4DAE
square
#AE2F8D #AE8F2F #2FAE50 #2F4DAE
split-complementary
#AE2F8D #4DAE2F #2FAE8F
monochromatic
#4E153F #7E2266 #AE2F8D #CF4CAD #DC7CC3

Accessibility & contrast

On white

5.85
#AE2F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AE2F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F8D
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F8D#FFFFFF#000000##FFFFFF
##AE2F8D1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#B8335A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae2f8d;
/* rgb */ color: rgb(174, 47, 141);
/* oklch */ color: oklch(53.1% 0.190 340.4);
Tailwind
colors: {
  custom: {
    50: '#ca74ae',
    500: '#ae2f8d',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f8d;
$custom-light: #ca74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f8d",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 315.591,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53111,
    "c": 0.18957,
    "h": 340.4
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE2F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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