#AE2198#AE2198

#AE2198 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.211 H 335.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AE2198
RGBrgb(174, 33, 152)
HSLhsl(309, 68%, 41%)
HSVhsv(309, 81%, 68%)
CMYKcmyk(0%, 81%, 12.6%, 31.8%)
CIE-LABlab(41.78, 65.53, -31.73)
CIE-LCHlch(41.78, 72.81, 334.16°)
OKLaboklab(52.62% 0.1922 -0.0867)
OKLCHoklch(52.62% 0.211 335.7)
XYZxyz(23.6673, 12.3556, 30.8381)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2198 #21AE37
analogous
#7D21AE #AE2198 #AE2151
triadic
#AE2198 #98AE21 #2198AE
tetradic
#AE2198 #AE7D21 #21AE37 #2151AE
square
#AE2198 #AE7D21 #21AE37 #2151AE
split-complementary
#AE2198 #51AE21 #21AE7D
monochromatic
#470D3E #7B176B #AE2198 #D834BF #E267CF

Accessibility & contrast

On white

6.05
#AE2198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE2198
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2198#FFFFFF#000000##FFFFFF
##AE21981.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559B
Deuteranopia (green-blind)
#586A95
Tritanopia (blue-blind)
#B72E5C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae2198;
/* rgb */ color: rgb(174, 33, 152);
/* oklch */ color: oklch(52.6% 0.211 335.7);
Tailwind
colors: {
  custom: {
    50: '#ca6fb6',
    500: '#ae2198',
    950: '#000000',
  },
}
SCSS
$custom: #ae2198;
$custom-light: #ca6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2198",
  "rgb": {
    "r": 174,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 309.362,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52617,
    "c": 0.21084,
    "h": 335.7
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#AE2198
secondary
#63C873
accent
#EB583D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AE2198

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

Preview Lab → · Contrast checker → · Palette generator →

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