#AE287B#AE287B

#AE287B is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.186 H 347.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AE287B
RGBrgb(174, 40, 123)
HSLhsl(323, 63%, 42%)
HSVhsv(323, 77%, 68%)
CMYKcmyk(0%, 77%, 29.3%, 31.8%)
CIE-LABlab(41.13, 59.75, -14.98)
CIE-LCHlch(41.13, 61.60, 345.93°)
OKLaboklab(51.73% 0.1822 -0.0395)
OKLCHoklch(51.73% 0.186 347.8)
XYZxyz(21.7906, 11.9488, 19.8939)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE287B #28AE5B
analogous
#9E28AE #AE287B #AE2838
triadic
#AE287B #7BAE28 #287BAE
tetradic
#AE287B #AE9E28 #28AE5B #2838AE
square
#AE287B #AE9E28 #28AE5B #2838AE
split-complementary
#AE287B #38AE28 #28AE9E
monochromatic
#4A1135 #7C1D58 #AE287B #D3409B #DF72B5

Accessibility & contrast

On white

6.20
#AE287B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE287B
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE287B#FFFFFF#000000##FFFFFF
##AE287B1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#646978
Tritanopia (blue-blind)
#BB224E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae287b;
/* rgb */ color: rgb(174, 40, 123);
/* oklch */ color: oklch(51.7% 0.186 347.8);
Tailwind
colors: {
  custom: {
    50: '#cb70a1',
    500: '#ae287b',
    950: '#000000',
  },
}
SCSS
$custom: #ae287b;
$custom-light: #cb70a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae287b",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 322.836,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51725,
    "c": 0.18639,
    "h": 347.8
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE287B

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

Preview Lab → · Contrast checker → · Palette generator →

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