#AE278D#AE278D

#AE278D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.5% C 0.198 H 340.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AE278D
RGBrgb(174, 39, 141)
HSLhsl(315, 63%, 42%)
HSVhsv(315, 78%, 68%)
CMYKcmyk(0%, 77.6%, 19%, 31.8%)
CIE-LABlab(41.81, 62.37, -25.00)
CIE-LCHlch(41.81, 67.19, 338.15°)
OKLaboklab(52.47% 0.1863 -0.0676)
OKLCHoklch(52.47% 0.198 340.1)
XYZxyz(22.9895, 12.3751, 26.3720)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE278D #27AE48
analogous
#8C27AE #AE278D #AE2749
triadic
#AE278D #8DAE27 #278DAE
tetradic
#AE278D #AE8C27 #27AE48 #2749AE
square
#AE278D #AE8C27 #27AE48 #2749AE
split-complementary
#AE278D #49AE27 #27AE8C
monochromatic
#4A113C #7C1C64 #AE278D #D43EAF #DF70C4

Accessibility & contrast

On white

6.04
#AE278D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AE278D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE278D
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE278D#FFFFFF#000000##FFFFFF
##AE278D1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315590
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#B92C58
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae278d;
/* rgb */ color: rgb(174, 39, 141);
/* oklch */ color: oklch(52.5% 0.198 340.1);
Tailwind
colors: {
  custom: {
    50: '#ca70ae',
    500: '#ae278d',
    950: '#000000',
  },
}
SCSS
$custom: #ae278d;
$custom-light: #ca70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ae278d",
  "rgb": {
    "r": 174,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 314.667,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52465,
    "c": 0.19812,
    "h": 340.1
  },
  "luminance": 0.12373
}

Semantic roles & 50–950 ramp

primary
#AE278D
secondary
#6BC681
accent
#E66A41
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE278D

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

Preview Lab → · Contrast checker → · Palette generator →

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