#AE238C#AE238C

#AE238C is a mid, highly saturated pink. Relative luminance 0.121; OKLCH L 52.1% C 0.201 H 340.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AE238C
RGBrgb(174, 35, 140)
HSLhsl(315, 67%, 41%)
HSVhsv(315, 80%, 68%)
CMYKcmyk(0%, 79.9%, 19.5%, 31.8%)
CIE-LABlab(41.37, 63.35, -25.07)
CIE-LCHlch(41.37, 68.13, 338.41°)
OKLaboklab(52.14% 0.1895 -0.0677)
OKLCHoklch(52.14% 0.201 340.3)
XYZxyz(22.7909, 12.0965, 25.9405)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE238C #23AE45
analogous
#8A23AE #AE238C #AE2347
triadic
#AE238C #8CAE23 #238CAE
tetradic
#AE238C #AE8A23 #23AE45 #2347AE
square
#AE238C #AE8A23 #23AE45 #2347AE
split-complementary
#AE238C #47AE23 #23AE8A
monochromatic
#480F3A #7B1963 #AE238C #D737B0 #E16AC4

Accessibility & contrast

On white

6.14
#AE238C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AE238C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE238C
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE238C#FFFFFF#000000##FFFFFF
##AE238C1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F548F
Deuteranopia (green-blind)
#5D6989
Tritanopia (blue-blind)
#B92856
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ae238c;
/* rgb */ color: rgb(174, 35, 140);
/* oklch */ color: oklch(52.1% 0.201 340.3);
Tailwind
colors: {
  custom: {
    50: '#ca6fae',
    500: '#ae238c',
    950: '#000000',
  },
}
SCSS
$custom: #ae238c;
$custom-light: #ca6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#ae238c",
  "rgb": {
    "r": 174,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 314.676,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.20127,
    "h": 340.3
  },
  "luminance": 0.12094
}

Semantic roles & 50–950 ramp

primary
#AE238C
secondary
#66C77E
accent
#E9683E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE238C

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

Preview Lab → · Contrast checker → · Palette generator →

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