#AE2F82#AE2F82

#AE2F82 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.183 H 345.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AE2F82
RGBrgb(174, 47, 130)
HSLhsl(321, 57%, 43%)
HSVhsv(321, 73%, 68%)
CMYKcmyk(0%, 73%, 25.3%, 31.8%)
CIE-LABlab(42.22, 58.35, -17.63)
CIE-LCHlch(42.22, 60.95, 343.19°)
OKLaboklab(52.61% 0.1766 -0.0469)
OKLCHoklch(52.61% 0.183 345.1)
XYZxyz(22.5023, 12.6458, 22.3706)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F82 #2FAE5B
analogous
#9A2FAE #AE2F82 #AE2F43
triadic
#AE2F82 #82AE2F #2F82AE
tetradic
#AE2F82 #AE9A2F #2FAE5B #2F43AE
square
#AE2F82 #AE9A2F #2FAE5B #2F43AE
split-complementary
#AE2F82 #43AE2F #2FAE9A
monochromatic
#4E153A #7E225E #AE2F82 #CF4CA1 #DC7CBA

Accessibility & contrast

On white

5.95
#AE2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AE2F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F82
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F82#FFFFFF#000000##FFFFFF
##AE2F821.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5684
Deuteranopia (green-blind)
#656B7F
Tritanopia (blue-blind)
#BA2D54
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae2f82;
/* rgb */ color: rgb(174, 47, 130);
/* oklch */ color: oklch(52.6% 0.183 345.1);
Tailwind
colors: {
  custom: {
    50: '#ca73a6',
    500: '#ae2f82',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f82;
$custom-light: #ca73a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f82",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 320.787,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52611,
    "c": 0.18268,
    "h": 345.1
  },
  "luminance": 0.12643
}

Semantic roles & 50–950 ramp

primary
#AE2F82
secondary
#75C490
accent
#E17C47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AE2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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