#AE2F7B#AE2F7B

#AE2F7B is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.179 H 348.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AE2F7B
RGBrgb(174, 47, 123)
HSLhsl(324, 57%, 43%)
HSVhsv(324, 73%, 68%)
CMYKcmyk(0%, 73%, 29.3%, 31.8%)
CIE-LABlab(41.94, 57.46, -13.75)
CIE-LCHlch(41.94, 59.08, 346.55°)
OKLaboklab(52.32% 0.175 -0.0361)
OKLCHoklch(52.32% 0.179 348.3)
XYZxyz(22.0483, 12.4642, 19.9798)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F7B #2FAE62
analogous
#A12FAE #AE2F7B #AE2F3C
triadic
#AE2F7B #7BAE2F #2F7BAE
tetradic
#AE2F7B #AEA12F #2FAE62 #2F3CAE
square
#AE2F7B #AEA12F #2FAE62 #2F3CAE
split-complementary
#AE2F7B #3CAE2F #2FAEA1
monochromatic
#4E1537 #7E2259 #AE2F7B #CF4C9A #DC7CB5

Accessibility & contrast

On white

6.01
#AE2F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AE2F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F7B
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F7B#FFFFFF#000000##FFFFFF
##AE2F7B1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557D
Deuteranopia (green-blind)
#676B78
Tritanopia (blue-blind)
#BA2951
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae2f7b;
/* rgb */ color: rgb(174, 47, 123);
/* oklch */ color: oklch(52.3% 0.179 348.3);
Tailwind
colors: {
  custom: {
    50: '#ca73a1',
    500: '#ae2f7b',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f7b;
$custom-light: #ca73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f7b",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 324.094,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52315,
    "c": 0.1787,
    "h": 348.3
  },
  "luminance": 0.12462
}

Semantic roles & 50–950 ramp

primary
#AE2F7B
secondary
#75C495
accent
#E18547
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AE2F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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