#AE2987#AE2987

#AE2987 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.192 H 342.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AE2987
RGBrgb(174, 41, 135)
HSLhsl(318, 62%, 42%)
HSVhsv(318, 76%, 68%)
CMYKcmyk(0%, 76.4%, 22.4%, 31.8%)
CIE-LABlab(41.75, 60.96, -21.43)
CIE-LCHlch(41.75, 64.62, 340.63°)
OKLaboklab(52.33% 0.1835 -0.0575)
OKLCHoklch(52.33% 0.192 342.6)
XYZxyz(22.6225, 12.3362, 24.1067)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2987 #29AE50
analogous
#9329AE #AE2987 #AE2945
triadic
#AE2987 #87AE29 #2987AE
tetradic
#AE2987 #AE9329 #29AE50 #2945AE
square
#AE2987 #AE9329 #29AE50 #2945AE
split-complementary
#AE2987 #45AE29 #29AE93
monochromatic
#4B123A #7C1D61 #AE2987 #D242A8 #DE73BF

Accessibility & contrast

On white

6.06
#AE2987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AE2987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2987
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2987#FFFFFF#000000##FFFFFF
##AE29871.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558A
Deuteranopia (green-blind)
#616A84
Tritanopia (blue-blind)
#B92A55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ae2987;
/* rgb */ color: rgb(174, 41, 135);
/* oklch */ color: oklch(52.3% 0.192 342.6);
Tailwind
colors: {
  custom: {
    50: '#ca71aa',
    500: '#ae2987',
    950: '#000000',
  },
}
SCSS
$custom: #ae2987;
$custom-light: #ca71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2987",
  "rgb": {
    "r": 174,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 317.594,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.19232,
    "h": 342.6
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#AE2987
secondary
#6DC587
accent
#E57243
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE2987

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

Preview Lab → · Contrast checker → · Palette generator →

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