#AE2F99#AE2F99

#AE2F99 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.7% C 0.198 H 335.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AE2F99
RGBrgb(174, 47, 153)
HSLhsl(310, 57%, 43%)
HSVhsv(310, 73%, 68%)
CMYKcmyk(0%, 73%, 12.1%, 31.8%)
CIE-LABlab(43.26, 61.56, -30.00)
CIE-LCHlch(43.26, 68.48, 334.02°)
OKLaboklab(53.7% 0.18 -0.0819)
OKLCHoklch(53.7% 0.198 335.5)
XYZxyz(24.2222, 13.3338, 31.4288)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F99 #2FAE44
analogous
#832FAE #AE2F99 #AE2F59
triadic
#AE2F99 #99AE2F #2F99AE
tetradic
#AE2F99 #AE832F #2FAE44 #2F59AE
square
#AE2F99 #AE832F #2FAE44 #2F59AE
split-complementary
#AE2F99 #59AE2F #2FAE83
monochromatic
#4E1544 #7E226F #AE2F99 #CF4CB9 #DC7CCC

Accessibility & contrast

On white

5.73
#AE2F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AE2F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F99
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F99#FFFFFF#000000##FFFFFF
##AE2F991.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#5C6D96
Tritanopia (blue-blind)
#B73961
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae2f99;
/* rgb */ color: rgb(174, 47, 153);
/* oklch */ color: oklch(53.7% 0.198 335.5);
Tailwind
colors: {
  custom: {
    50: '#ca74b7',
    500: '#ae2f99',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f99;
$custom-light: #ca74b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f99",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 309.921,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.19777,
    "h": 335.5
  },
  "luminance": 0.13332
}

Semantic roles & 50–950 ramp

primary
#AE2F99
secondary
#75C482
accent
#E16047
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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