#AE277D#AE277D

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

Color values

HEX#AE277D
RGBrgb(174, 39, 125)
HSLhsl(322, 63%, 42%)
HSVhsv(322, 78%, 68%)
CMYKcmyk(0%, 77.6%, 28.2%, 31.8%)
CIE-LABlab(41.11, 60.29, -16.26)
CIE-LCHlch(41.11, 62.45, 344.91°)
OKLaboklab(51.73% 0.1835 -0.043)
OKLCHoklch(51.73% 0.189 346.8)
XYZxyz(21.8838, 11.9329, 20.5489)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE277D #27AE58
analogous
#9C27AE #AE277D #AE273A
triadic
#AE277D #7DAE27 #277DAE
tetradic
#AE277D #AE9C27 #27AE58 #273AAE
square
#AE277D #AE9C27 #27AE58 #273AAE
split-complementary
#AE277D #3AAE27 #27AE9C
monochromatic
#4A1135 #7C1C59 #AE277D #D43E9E #DF70B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE277D#FFFFFF#000000##FFFFFF
##AE277D1.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)
#3B527F
Deuteranopia (green-blind)
#64697A
Tritanopia (blue-blind)
#BA224F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ae277d;
/* rgb */ color: rgb(174, 39, 125);
/* oklch */ color: oklch(51.7% 0.189 346.8);
Tailwind
colors: {
  custom: {
    50: '#cb70a2',
    500: '#ae277d',
    950: '#000000',
  },
}
SCSS
$custom: #ae277d;
$custom-light: #cb70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae277d",
  "rgb": {
    "r": 174,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 321.778,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51733,
    "c": 0.1885,
    "h": 346.8
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#AE277D
secondary
#6BC68C
accent
#E67D41
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AE277D

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

Preview Lab → · Contrast checker → · Palette generator →

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