#AE2871#AE2871

#AE2871 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.181 H 352.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AE2871
RGBrgb(174, 40, 113)
HSLhsl(327, 63%, 42%)
HSVhsv(327, 77%, 68%)
CMYKcmyk(0%, 77%, 35.1%, 31.8%)
CIE-LABlab(40.75, 58.58, -9.34)
CIE-LCHlch(40.75, 59.32, 350.94°)
OKLaboklab(51.32% 0.1797 -0.0241)
OKLCHoklch(51.32% 0.181 352.4)
XYZxyz(21.1963, 11.7111, 16.7638)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2871 #28AE65
analogous
#A828AE #AE2871 #AE282E
triadic
#AE2871 #71AE28 #2871AE
tetradic
#AE2871 #AEA828 #28AE65 #282EAE
square
#AE2871 #AEA828 #28AE65 #282EAE
split-complementary
#AE2871 #2EAE28 #28AEA8
monochromatic
#4A1130 #7C1D51 #AE2871 #D34090 #DF72AD

Accessibility & contrast

On white

6.28
#AE2871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AE2871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2871
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2871#FFFFFF#000000##FFFFFF
##AE28711.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415173
Deuteranopia (green-blind)
#67696E
Tritanopia (blue-blind)
#BC1B49
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ae2871;
/* rgb */ color: rgb(174, 40, 113);
/* oklch */ color: oklch(51.3% 0.181 352.4);
Tailwind
colors: {
  custom: {
    50: '#cb7099',
    500: '#ae2871',
    950: '#000000',
  },
}
SCSS
$custom: #ae2871;
$custom-light: #cb7099;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2871",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 327.313,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51322,
    "c": 0.18129,
    "h": 352.4
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#AE2871
secondary
#6CC695
accent
#E68D42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AE2871

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

Preview Lab → · Contrast checker → · Palette generator →

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