#AE1F97#AE1F97

#AE1F97 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.212 H 336.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AE1F97
RGBrgb(174, 31, 151)
HSLhsl(310, 70%, 40%)
HSVhsv(310, 82%, 68%)
CMYKcmyk(0%, 82.2%, 13.2%, 31.8%)
CIE-LABlab(41.56, 65.87, -31.47)
CIE-LCHlch(41.56, 73.00, 334.47°)
OKLaboklab(52.44% 0.1936 -0.086)
OKLCHoklch(52.44% 0.212 336.1)
XYZxyz(23.5319, 12.2153, 30.3906)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1F97 #1FAE36
analogous
#7D1FAE #AE1F97 #AE1F50
triadic
#AE1F97 #97AE1F #1F97AE
tetradic
#AE1F97 #AE7D1F #1FAE36 #1F50AE
square
#AE1F97 #AE7D1F #1FAE36 #1F50AE
split-complementary
#AE1F97 #50AE1F #1FAE7D
monochromatic
#460C3D #7A166A #AE1F97 #DA30BF #E364CF

Accessibility & contrast

On white

6.10
#AE1F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AE1F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1F97
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1F97#FFFFFF#000000##FFFFFF
##AE1F971.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559A
Deuteranopia (green-blind)
#586994
Tritanopia (blue-blind)
#B72C5B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ae1f97;
/* rgb */ color: rgb(174, 31, 151);
/* oklch */ color: oklch(52.4% 0.212 336.1);
Tailwind
colors: {
  custom: {
    50: '#ca6eb6',
    500: '#ae1f97',
    950: '#000000',
  },
}
SCSS
$custom: #ae1f97;
$custom-light: #ca6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1f97",
  "rgb": {
    "r": 174,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 309.65,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52444,
    "c": 0.2118,
    "h": 336.1
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#AE1F97
secondary
#60C871
accent
#ED583B
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #AE1F97

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

Preview Lab → · Contrast checker → · Palette generator →

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