#AE2F98#AE2F98

#AE2F98 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.7% C 0.197 H 335.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AE2F98
RGBrgb(174, 47, 152)
HSLhsl(310, 57%, 43%)
HSVhsv(310, 73%, 68%)
CMYKcmyk(0%, 73%, 12.6%, 31.8%)
CIE-LABlab(43.21, 61.41, -29.47)
CIE-LCHlch(43.21, 68.12, 334.36°)
OKLaboklab(53.65% 0.1799 -0.0804)
OKLCHoklch(53.65% 0.197 335.9)
XYZxyz(24.1399, 13.3009, 30.9956)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F98 #2FAE45
analogous
#842FAE #AE2F98 #AE2F58
triadic
#AE2F98 #98AE2F #2F98AE
tetradic
#AE2F98 #AE842F #2FAE45 #2F58AE
square
#AE2F98 #AE842F #2FAE45 #2F58AE
split-complementary
#AE2F98 #58AE2F #2FAE84
monochromatic
#4E1544 #7E226E #AE2F98 #CF4CB8 #DC7CCB

Accessibility & contrast

On white

5.74
#AE2F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AE2F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F98
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F98#FFFFFF#000000##FFFFFF
##AE2F981.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#5D6D95
Tritanopia (blue-blind)
#B73860
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae2f98;
/* rgb */ color: rgb(174, 47, 152);
/* oklch */ color: oklch(53.7% 0.197 335.9);
Tailwind
colors: {
  custom: {
    50: '#ca74b6',
    500: '#ae2f98',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f98;
$custom-light: #ca74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f98",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 310.394,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53651,
    "c": 0.19706,
    "h": 335.9
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE2F98

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

Preview Lab → · Contrast checker → · Palette generator →

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