#AE2874#AE2874

#AE2874 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.183 H 351.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AE2874
RGBrgb(174, 40, 116)
HSLhsl(326, 63%, 42%)
HSVhsv(326, 77%, 68%)
CMYKcmyk(0%, 77%, 33.3%, 31.8%)
CIE-LABlab(40.86, 58.92, -11.05)
CIE-LCHlch(40.86, 59.95, 349.38°)
OKLaboklab(51.44% 0.1805 -0.0287)
OKLCHoklch(51.44% 0.183 351)
XYZxyz(21.3680, 11.7798, 17.6681)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2874 #28AE62
analogous
#A528AE #AE2874 #AE2831
triadic
#AE2874 #74AE28 #2874AE
tetradic
#AE2874 #AEA528 #28AE62 #2831AE
square
#AE2874 #AEA528 #28AE62 #2831AE
split-complementary
#AE2874 #31AE28 #28AEA5
monochromatic
#4A1132 #7C1D53 #AE2874 #D34093 #DF72B0

Accessibility & contrast

On white

6.26
#AE2874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AE2874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2874
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2874#FFFFFF#000000##FFFFFF
##AE28741.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405176
Deuteranopia (green-blind)
#666971
Tritanopia (blue-blind)
#BB1D4B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ae2874;
/* rgb */ color: rgb(174, 40, 116);
/* oklch */ color: oklch(51.4% 0.183 351.0);
Tailwind
colors: {
  custom: {
    50: '#cb709c',
    500: '#ae2874',
    950: '#000000',
  },
}
SCSS
$custom: #ae2874;
$custom-light: #cb709c;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2874",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 325.97,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51439,
    "c": 0.18274,
    "h": 351
  },
  "luminance": 0.11777
}

Semantic roles & 50–950 ramp

primary
#AE2874
secondary
#6CC693
accent
#E68942
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AE2874

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

Preview Lab → · Contrast checker → · Palette generator →

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