#AE2297#AE2297

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

Color values

HEX#AE2297
RGBrgb(174, 34, 151)
HSLhsl(310, 67%, 41%)
HSVhsv(310, 80%, 68%)
CMYKcmyk(0%, 80.5%, 13.2%, 31.8%)
CIE-LABlab(41.81, 65.13, -31.07)
CIE-LCHlch(41.81, 72.16, 334.50°)
OKLaboklab(52.63% 0.1914 -0.0848)
OKLCHoklch(52.63% 0.209 336.1)
XYZxyz(23.6139, 12.3793, 30.4180)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2297 #22AE39
analogous
#7F22AE #AE2297 #AE2251
triadic
#AE2297 #97AE22 #2297AE
tetradic
#AE2297 #AE7F22 #22AE39 #2251AE
square
#AE2297 #AE7F22 #22AE39 #2251AE
split-complementary
#AE2297 #51AE22 #22AE7F
monochromatic
#480E3E #7B186B #AE2297 #D836BD #E269CE

Accessibility & contrast

On white

6.04
#AE2297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE2297
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2297#FFFFFF#000000##FFFFFF
##AE22971.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#586A94
Tritanopia (blue-blind)
#B72E5C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae2297;
/* rgb */ color: rgb(174, 34, 151);
/* oklch */ color: oklch(52.6% 0.209 336.1);
Tailwind
colors: {
  custom: {
    50: '#ca6fb6',
    500: '#ae2297',
    950: '#000000',
  },
}
SCSS
$custom: #ae2297;
$custom-light: #ca6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2297",
  "rgb": {
    "r": 174,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 309.857,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52627,
    "c": 0.20932,
    "h": 336.1
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#AE2297
secondary
#64C775
accent
#EA5A3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AE2297

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

Preview Lab → · Contrast checker → · Palette generator →

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