#AE2F8F#AE2F8F

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

Color values

HEX#AE2F8F
RGBrgb(174, 47, 143)
HSLhsl(315, 57%, 43%)
HSVhsv(315, 73%, 68%)
CMYKcmyk(0%, 73%, 17.8%, 31.8%)
CIE-LABlab(42.79, 60.11, -24.69)
CIE-LCHlch(42.79, 64.98, 337.67°)
OKLaboklab(53.21% 0.1788 -0.0667)
OKLCHoklch(53.21% 0.191 339.5)
XYZxyz(23.4306, 13.0171, 27.2599)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F8F #2FAE4E
analogous
#8D2FAE #AE2F8F #AE2F4F
triadic
#AE2F8F #8FAE2F #2F8FAE
tetradic
#AE2F8F #AE8D2F #2FAE4E #2F4FAE
square
#AE2F8F #AE8D2F #2FAE4E #2F4FAE
split-complementary
#AE2F8F #4FAE2F #2FAE8D
monochromatic
#4E1540 #7E2267 #AE2F8F #CF4CAF #DC7CC4

Accessibility & contrast

On white

5.83
#AE2F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE2F8F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F8F#FFFFFF#000000##FFFFFF
##AE2F8F1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375892
Deuteranopia (green-blind)
#606C8C
Tritanopia (blue-blind)
#B8345B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae2f8f;
/* rgb */ color: rgb(174, 47, 143);
/* oklch */ color: oklch(53.2% 0.191 339.5);
Tailwind
colors: {
  custom: {
    50: '#ca74b0',
    500: '#ae2f8f',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f8f;
$custom-light: #ca74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f8f",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 314.646,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53206,
    "c": 0.19088,
    "h": 339.5
  },
  "luminance": 0.13015
}

Semantic roles & 50–950 ramp

primary
#AE2F8F
secondary
#75C488
accent
#E16D47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE2F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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