#AE287F#AE287F

#AE287F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.189 H 346.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AE287F
RGBrgb(174, 40, 127)
HSLhsl(321, 63%, 42%)
HSVhsv(321, 77%, 68%)
CMYKcmyk(0%, 77%, 27%, 31.8%)
CIE-LABlab(41.30, 60.24, -17.20)
CIE-LCHlch(41.30, 62.65, 344.06°)
OKLaboklab(51.9% 0.183 -0.0456)
OKLCHoklch(51.9% 0.189 346)
XYZxyz(22.0461, 12.0510, 21.2396)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE287F #28AE57
analogous
#9A28AE #AE287F #AE283C
triadic
#AE287F #7FAE28 #287FAE
tetradic
#AE287F #AE9A28 #28AE57 #283CAE
square
#AE287F #AE9A28 #28AE57 #283CAE
split-complementary
#AE287F #3CAE28 #28AE9A
monochromatic
#4A1136 #7C1D5B #AE287F #D340A0 #DF72B8

Accessibility & contrast

On white

6.16
#AE287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AE287F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE287F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE287F#FFFFFF#000000##FFFFFF
##AE287F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5381
Deuteranopia (green-blind)
#636A7C
Tritanopia (blue-blind)
#BA2450
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae287f;
/* rgb */ color: rgb(174, 40, 127);
/* oklch */ color: oklch(51.9% 0.189 346.0);
Tailwind
colors: {
  custom: {
    50: '#ca70a4',
    500: '#ae287f',
    950: '#000000',
  },
}
SCSS
$custom: #ae287f;
$custom-light: #ca70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae287f",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 321.045,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.18862,
    "h": 346
  },
  "luminance": 0.12049
}

Semantic roles & 50–950 ramp

primary
#AE287F
secondary
#6CC68C
accent
#E67B42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AE287F

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

Preview Lab → · Contrast checker → · Palette generator →

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