#AE2298#AE2298

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

Color values

HEX#AE2298
RGBrgb(174, 34, 152)
HSLhsl(309, 67%, 41%)
HSVhsv(309, 80%, 68%)
CMYKcmyk(0%, 80.5%, 12.6%, 31.8%)
CIE-LABlab(41.86, 65.28, -31.59)
CIE-LCHlch(41.86, 72.52, 334.17°)
OKLaboklab(52.68% 0.1914 -0.0863)
OKLCHoklch(52.68% 0.21 335.7)
XYZxyz(23.6955, 12.4119, 30.8475)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2298 #22AE38
analogous
#7E22AE #AE2298 #AE2252
triadic
#AE2298 #98AE22 #2298AE
tetradic
#AE2298 #AE7E22 #22AE38 #2252AE
square
#AE2298 #AE7E22 #22AE38 #2252AE
split-complementary
#AE2298 #52AE22 #22AE7E
monochromatic
#480E3F #7B186B #AE2298 #D836BE #E269CF

Accessibility & contrast

On white

6.03
#AE2298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AE2298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2298
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2298#FFFFFF#000000##FFFFFF
##AE22981.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae2298;
/* rgb */ color: rgb(174, 34, 152);
/* oklch */ color: oklch(52.7% 0.210 335.7);
Tailwind
colors: {
  custom: {
    50: '#ca6fb6',
    500: '#ae2298',
    950: '#000000',
  },
}
SCSS
$custom: #ae2298;
$custom-light: #ca6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2298",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 309.429,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5268,
    "c": 0.20999,
    "h": 335.7
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

primary
#AE2298
secondary
#64C774
accent
#EA593E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AE2298

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

Preview Lab → · Contrast checker → · Palette generator →

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