#AE298D#AE298D

#AE298D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.196 H 340.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AE298D
RGBrgb(174, 41, 141)
HSLhsl(315, 62%, 42%)
HSVhsv(315, 76%, 68%)
CMYKcmyk(0%, 76.4%, 19%, 31.8%)
CIE-LABlab(42.02, 61.77, -24.68)
CIE-LCHlch(42.02, 66.52, 338.22°)
OKLaboklab(52.62% 0.1844 -0.0666)
OKLCHoklch(52.62% 0.196 340.1)
XYZxyz(23.0569, 12.5099, 26.3945)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE298D #29AE4A
analogous
#8C29AE #AE298D #AE294B
triadic
#AE298D #8DAE29 #298DAE
tetradic
#AE298D #AE8C29 #29AE4A #294BAE
square
#AE298D #AE8C29 #29AE4A #294BAE
split-complementary
#AE298D #4BAE29 #29AE8C
monochromatic
#4B123D #7C1D65 #AE298D #D242AF #DE73C4

Accessibility & contrast

On white

6.00
#AE298D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AE298D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE298D
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE298D#FFFFFF#000000##FFFFFF
##AE298D1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#5F6B8A
Tritanopia (blue-blind)
#B82D58
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ae298d;
/* rgb */ color: rgb(174, 41, 141);
/* oklch */ color: oklch(52.6% 0.196 340.1);
Tailwind
colors: {
  custom: {
    50: '#ca71ae',
    500: '#ae298d',
    950: '#000000',
  },
}
SCSS
$custom: #ae298d;
$custom-light: #ca71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ae298d",
  "rgb": {
    "r": 174,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 314.887,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52616,
    "c": 0.19611,
    "h": 340.1
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#AE298D
secondary
#6DC583
accent
#E56B43
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AE298D

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

Preview Lab → · Contrast checker → · Palette generator →

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