#AE2F8B#AE2F8B

#AE2F8B is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.188 H 341.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AE2F8B
RGBrgb(174, 47, 139)
HSLhsl(317, 57%, 43%)
HSVhsv(317, 73%, 68%)
CMYKcmyk(0%, 73%, 20.1%, 31.8%)
CIE-LABlab(42.61, 59.55, -22.54)
CIE-LCHlch(42.61, 63.67, 339.27°)
OKLaboklab(53.02% 0.1782 -0.0606)
OKLCHoklch(53.02% 0.188 341.2)
XYZxyz(23.1330, 12.8981, 25.6924)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F8B #2FAE52
analogous
#912FAE #AE2F8B #AE2F4C
triadic
#AE2F8B #8BAE2F #2F8BAE
tetradic
#AE2F8B #AE912F #2FAE52 #2F4CAE
square
#AE2F8B #AE912F #2FAE52 #2F4CAE
split-complementary
#AE2F8B #4CAE2F #2FAE91
monochromatic
#4E153E #7E2265 #AE2F8B #CF4CAA #DC7CC1

Accessibility & contrast

On white

5.87
#AE2F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AE2F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F8B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F8B#FFFFFF#000000##FFFFFF
##AE2F8B1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578E
Deuteranopia (green-blind)
#626C88
Tritanopia (blue-blind)
#B93259
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae2f8b;
/* rgb */ color: rgb(174, 47, 139);
/* oklch */ color: oklch(53.0% 0.188 341.2);
Tailwind
colors: {
  custom: {
    50: '#ca73ad',
    500: '#ae2f8b',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f8b;
$custom-light: #ca73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f8b",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 316.535,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53017,
    "c": 0.18826,
    "h": 341.2
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#AE2F8B
secondary
#75C48B
accent
#E17147
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE2F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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