#AE5271#AE5271

#AE5271 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.2% C 0.124 H 0.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AE5271
RGBrgb(174, 82, 113)
HSLhsl(340, 36%, 50%)
HSVhsv(340, 53%, 68%)
CMYKcmyk(0%, 52.9%, 35.1%, 31.8%)
CIE-LABlab(47.27, 40.89, 0.32)
CIE-LCHlch(47.27, 40.89, 0.44°)
OKLaboklab(56.15% 0.1244 0.0013)
OKLCHoklch(56.15% 0.124 0.6)
XYZxyz(23.4546, 16.2278, 17.5166)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5271 #52AE8F
analogous
#AE529F #AE5271 #AE6152
triadic
#AE5271 #71AE52 #5271AE
tetradic
#AE5271 #9FAE52 #52AE8F #6152AE
square
#AE5271 #9FAE52 #52AE8F #6152AE
split-complementary
#AE5271 #52AE61 #529FAE
monochromatic
#5B2B3B #853E56 #AE5271 #C27C93 #D5A5B5

Accessibility & contrast

On white

4.95
#AE5271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AE5271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE5271
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5271#FFFFFF#000000##FFFFFF
##AE52711.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616572
Deuteranopia (green-blind)
#79776F
Tritanopia (blue-blind)
#BB4B5D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ae5271;
/* rgb */ color: rgb(174, 82, 113);
/* oklch */ color: oklch(56.2% 0.124 0.6);
Tailwind
colors: {
  custom: {
    50: '#c98699',
    500: '#ae5271',
    950: '#000000',
  },
}
SCSS
$custom: #ae5271;
$custom-light: #c98699;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5271",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 339.783,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56154,
    "c": 0.12436,
    "h": 0.6
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#AE5271
secondary
#99C2B5
accent
#CCA65C
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AE5271

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

Preview Lab → · Contrast checker → · Palette generator →

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