#AE2F94#AE2F94

#AE2F94 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.194 H 337.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AE2F94
RGBrgb(174, 47, 148)
HSLhsl(312, 57%, 43%)
HSVhsv(312, 73%, 68%)
CMYKcmyk(0%, 73%, 14.9%, 31.8%)
CIE-LABlab(43.02, 60.83, -27.36)
CIE-LCHlch(43.02, 66.70, 335.78°)
OKLaboklab(53.45% 0.1795 -0.0743)
OKLCHoklch(53.45% 0.194 337.5)
XYZxyz(23.8178, 13.1720, 29.2993)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F94 #2FAE49
analogous
#882FAE #AE2F94 #AE2F55
triadic
#AE2F94 #94AE2F #2F94AE
tetradic
#AE2F94 #AE882F #2FAE49 #2F55AE
square
#AE2F94 #AE882F #2FAE49 #2F55AE
split-complementary
#AE2F94 #55AE2F #2FAE88
monochromatic
#4E1542 #7E226B #AE2F94 #CF4CB4 #DC7CC8

Accessibility & contrast

On white

5.78
#AE2F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AE2F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F94
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F94#FFFFFF#000000##FFFFFF
##AE2F941.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335997
Deuteranopia (green-blind)
#5E6D91
Tritanopia (blue-blind)
#B7365E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae2f94;
/* rgb */ color: rgb(174, 47, 148);
/* oklch */ color: oklch(53.4% 0.194 337.5);
Tailwind
colors: {
  custom: {
    50: '#ca74b3',
    500: '#ae2f94',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f94;
$custom-light: #ca74b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f94",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 312.283,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5345,
    "c": 0.19428,
    "h": 337.5
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#AE2F94
secondary
#75C485
accent
#E16747
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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