#AE2187#AE2187

#AE2187 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.8% C 0.200 H 342.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AE2187
RGBrgb(174, 33, 135)
HSLhsl(317, 68%, 41%)
HSVhsv(317, 81%, 68%)
CMYKcmyk(0%, 81%, 22.4%, 31.8%)
CIE-LABlab(40.96, 63.22, -22.65)
CIE-LCHlch(40.96, 67.15, 340.29°)
OKLaboklab(51.76% 0.1905 -0.0609)
OKLCHoklch(51.76% 0.2 342.3)
XYZxyz(22.3734, 11.8381, 24.0237)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2187 #21AE48
analogous
#8E21AE #AE2187 #AE2140
triadic
#AE2187 #87AE21 #2187AE
tetradic
#AE2187 #AE8E21 #21AE48 #2140AE
square
#AE2187 #AE8E21 #21AE48 #2140AE
split-complementary
#AE2187 #40AE21 #21AE8E
monochromatic
#470D37 #7B175F #AE2187 #D834AB #E267C0

Accessibility & contrast

On white

6.24
#AE2187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AE2187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2187
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2187#FFFFFF#000000##FFFFFF
##AE21871.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31528A
Deuteranopia (green-blind)
#5F6984
Tritanopia (blue-blind)
#B92353
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae2187;
/* rgb */ color: rgb(174, 33, 135);
/* oklch */ color: oklch(51.8% 0.200 342.3);
Tailwind
colors: {
  custom: {
    50: '#cb6eaa',
    500: '#ae2187',
    950: '#000000',
  },
}
SCSS
$custom: #ae2187;
$custom-light: #cb6eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2187",
  "rgb": {
    "r": 174,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 316.596,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51763,
    "c": 0.19995,
    "h": 342.3
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#AE2187
secondary
#63C87F
accent
#EB6D3D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE2187

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

Preview Lab → · Contrast checker → · Palette generator →

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