#AE2F7F#AE2F7F

#AE2F7F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.181 H 346.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AE2F7F
RGBrgb(174, 47, 127)
HSLhsl(322, 57%, 43%)
HSVhsv(322, 73%, 68%)
CMYKcmyk(0%, 73%, 27%, 31.8%)
CIE-LABlab(42.10, 57.96, -15.97)
CIE-LCHlch(42.10, 60.12, 344.59°)
OKLaboklab(52.48% 0.1759 -0.0423)
OKLCHoklch(52.48% 0.181 346.5)
XYZxyz(22.3038, 12.5664, 21.3255)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F7F #2FAE5E
analogous
#9D2FAE #AE2F7F #AE2F3F
triadic
#AE2F7F #7FAE2F #2F7FAE
tetradic
#AE2F7F #AE9D2F #2FAE5E #2F3FAE
square
#AE2F7F #AE9D2F #2FAE5E #2F3FAE
split-complementary
#AE2F7F #3FAE2F #2FAE9D
monochromatic
#4E1539 #7E225C #AE2F7F #CF4C9E #DC7CB8

Accessibility & contrast

On white

5.98
#AE2F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AE2F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F7F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F7F#FFFFFF#000000##FFFFFF
##AE2F7F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405581
Deuteranopia (green-blind)
#666B7C
Tritanopia (blue-blind)
#BA2B53
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae2f7f;
/* rgb */ color: rgb(174, 47, 127);
/* oklch */ color: oklch(52.5% 0.181 346.5);
Tailwind
colors: {
  custom: {
    50: '#ca73a4',
    500: '#ae2f7f',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f7f;
$custom-light: #ca73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f7f",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 322.205,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.18093,
    "h": 346.5
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#AE2F7F
secondary
#75C492
accent
#E18047
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AE2F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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