#AE287C#AE287C

#AE287C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.187 H 347.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AE287C
RGBrgb(174, 40, 124)
HSLhsl(322, 63%, 42%)
HSVhsv(322, 77%, 68%)
CMYKcmyk(0%, 77%, 28.7%, 31.8%)
CIE-LABlab(41.17, 59.87, -15.54)
CIE-LCHlch(41.17, 61.85, 345.45°)
OKLaboklab(51.77% 0.1824 -0.041)
OKLCHoklch(51.77% 0.187 347.3)
XYZxyz(21.8535, 11.9740, 20.2252)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE287C #28AE5A
analogous
#9D28AE #AE287C #AE2839
triadic
#AE287C #7CAE28 #287CAE
tetradic
#AE287C #AE9D28 #28AE5A #2839AE
square
#AE287C #AE9D28 #28AE5A #2839AE
split-complementary
#AE287C #39AE28 #28AE9D
monochromatic
#4A1135 #7C1D59 #AE287C #D3409C #DF72B6

Accessibility & contrast

On white

6.19
#AE287C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AE287C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE287C
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE287C#FFFFFF#000000##FFFFFF
##AE287C1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#646979
Tritanopia (blue-blind)
#BA224F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae287c;
/* rgb */ color: rgb(174, 40, 124);
/* oklch */ color: oklch(51.8% 0.187 347.3);
Tailwind
colors: {
  custom: {
    50: '#cb70a2',
    500: '#ae287c',
    950: '#000000',
  },
}
SCSS
$custom: #ae287c;
$custom-light: #cb70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae287c",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 322.388,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.18693,
    "h": 347.3
  },
  "luminance": 0.11971
}

Semantic roles & 50–950 ramp

primary
#AE287C
secondary
#6CC68E
accent
#E67F42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080F
muted
#837B7E

Preview Lab

Preview with #AE287C

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

Preview Lab → · Contrast checker → · Palette generator →

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