#AE227F#AE227F

#AE227F is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.194 H 345.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AE227F
RGBrgb(174, 34, 127)
HSLhsl(320, 67%, 41%)
HSVhsv(320, 80%, 68%)
CMYKcmyk(0%, 80.5%, 27%, 31.8%)
CIE-LABlab(40.70, 61.95, -18.12)
CIE-LCHlch(40.70, 64.54, 343.69°)
OKLaboklab(51.46% 0.1883 -0.0481)
OKLCHoklch(51.46% 0.194 345.7)
XYZxyz(21.8594, 11.6775, 21.1774)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE227F #22AE51
analogous
#9722AE #AE227F #AE2239
triadic
#AE227F #7FAE22 #227FAE
tetradic
#AE227F #AE9722 #22AE51 #2239AE
square
#AE227F #AE9722 #22AE51 #2239AE
split-complementary
#AE227F #39AE22 #22AE97
monochromatic
#480E34 #7B185A #AE227F #D836A1 #E269B9

Accessibility & contrast

On white

6.30
#AE227F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE227F
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE227F#FFFFFF#000000##FFFFFF
##AE227F1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#62687C
Tritanopia (blue-blind)
#BA1E4F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ae227f;
/* rgb */ color: rgb(174, 34, 127);
/* oklch */ color: oklch(51.5% 0.194 345.7);
Tailwind
colors: {
  custom: {
    50: '#cb6ea4',
    500: '#ae227f',
    950: '#000000',
  },
}
SCSS
$custom: #ae227f;
$custom-light: #cb6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae227f",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 320.143,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51463,
    "c": 0.19438,
    "h": 345.7
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#AE227F
secondary
#64C786
accent
#EA783E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AE227F

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

Preview Lab → · Contrast checker → · Palette generator →

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