#AE2098#AE2098

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

Color values

HEX#AE2098
RGBrgb(174, 32, 152)
HSLhsl(309, 69%, 40%)
HSVhsv(309, 82%, 68%)
CMYKcmyk(0%, 81.6%, 12.6%, 31.8%)
CIE-LABlab(41.69, 65.78, -31.86)
CIE-LCHlch(41.69, 73.09, 334.15°)
OKLaboklab(52.56% 0.1929 -0.0871)
OKLCHoklch(52.56% 0.212 335.7)
XYZxyz(23.6400, 12.3009, 30.8290)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2098 #20AE36
analogous
#7D20AE #AE2098 #AE2051
triadic
#AE2098 #98AE20 #2098AE
tetradic
#AE2098 #AE7D20 #20AE36 #2051AE
square
#AE2098 #AE7D20 #20AE36 #2051AE
split-complementary
#AE2098 #51AE20 #20AE7D
monochromatic
#470D3E #7A166B #AE2098 #D932BF #E366CF

Accessibility & contrast

On white

6.07
#AE2098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AE2098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2098
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2098#FFFFFF#000000##FFFFFF
##AE20981.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#576A95
Tritanopia (blue-blind)
#B72D5C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ae2098;
/* rgb */ color: rgb(174, 32, 152);
/* oklch */ color: oklch(52.6% 0.212 335.7);
Tailwind
colors: {
  custom: {
    50: '#ca6eb6',
    500: '#ae2098',
    950: '#000000',
  },
}
SCSS
$custom: #ae2098;
$custom-light: #ca6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2098",
  "rgb": {
    "r": 174,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 309.296,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52556,
    "c": 0.21167,
    "h": 335.7
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#AE2098
secondary
#62C872
accent
#EC573C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AE2098

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

Preview Lab → · Contrast checker → · Palette generator →

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