#AE1B8E#AE1B8E

#AE1B8E is a mid, highly saturated pink. Relative luminance 0.117; OKLCH L 51.8% C 0.209 H 339.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AE1B8E
RGBrgb(174, 27, 142)
HSLhsl(313, 73%, 39%)
HSVhsv(313, 84%, 68%)
CMYKcmyk(0%, 84.5%, 18.4%, 31.8%)
CIE-LABlab(40.80, 65.54, -27.19)
CIE-LCHlch(40.80, 70.96, 337.47°)
OKLaboklab(51.75% 0.1956 -0.0737)
OKLCHoklch(51.75% 0.209 339.4)
XYZxyz(22.7306, 11.7379, 26.6545)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE1B8E #1BAE3B
analogous
#851BAE #AE1B8E #AE1B45
triadic
#AE1B8E #8EAE1B #1B8EAE
tetradic
#AE1B8E #AE851B #1BAE3B #1B45AE
square
#AE1B8E #AE851B #1BAE3B #1B45AE
split-complementary
#AE1B8E #45AE1B #1BAE85
monochromatic
#440B38 #791363 #AE1B8E #DE28B6 #E65DC8

Accessibility & contrast

On white

6.27
#AE1B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AE1B8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE1B8E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE1B8E#FFFFFF#000000##FFFFFF
##AE1B8E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#5A688B
Tritanopia (blue-blind)
#B82355
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ae1b8e;
/* rgb */ color: rgb(174, 27, 142);
/* oklch */ color: oklch(51.8% 0.209 339.4);
Tailwind
colors: {
  custom: {
    50: '#cb6caf',
    500: '#ae1b8e',
    950: '#000000',
  },
}
SCSS
$custom: #ae1b8e;
$custom-light: #cb6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae1b8e",
  "rgb": {
    "r": 174,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 313.061,
    "s": 73.134,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51754,
    "c": 0.20903,
    "h": 339.4
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#AE1B8E
secondary
#5BCA73
accent
#F06038
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AE1B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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