#AC1E52#AC1E52

#AC1E52 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.178 H 5.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AC1E52
RGBrgb(172, 30, 82)
HSLhsl(338, 70%, 40%)
HSVhsv(338, 83%, 67%)
CMYKcmyk(0%, 82.6%, 52.3%, 32.5%)
CIE-LABlab(38.40, 57.90, 6.76)
CIE-LCHlch(38.40, 58.30, 6.66°)
OKLaboklab(49.21% 0.1771 0.0176)
OKLCHoklch(49.21% 0.178 5.7)
XYZxyz(19.0023, 10.3111, 8.9707)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1E52 #1EAC78
analogous
#AC1E99 #AC1E52 #AC311E
triadic
#AC1E52 #52AC1E #1E52AC
tetradic
#AC1E52 #99AC1E #1EAC78 #311EAC
square
#AC1E52 #99AC1E #1EAC78 #311EAC
split-complementary
#AC1E52 #1EAC31 #1E99AC
monochromatic
#440C20 #781539 #AC1E52 #DA2D6C #E36191

Accessibility & contrast

On white

6.86
#AC1E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#AC1E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1E52
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1E52#FFFFFF#000000##FFFFFF
##AC1E521.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#6A644F
Tritanopia (blue-blind)
#BC0036
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ac1e52;
/* rgb */ color: rgb(172, 30, 82);
/* oklch */ color: oklch(49.2% 0.178 5.7);
Tailwind
colors: {
  custom: {
    50: '#cb6b82',
    500: '#ac1e52',
    950: '#000000',
  },
}
SCSS
$custom: #ac1e52;
$custom-light: #cb6b82;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1e52",
  "rgb": {
    "r": 172,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 338.028,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49206,
    "c": 0.17793,
    "h": 5.7
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#AC1E52
secondary
#5EC8A1
accent
#EDAC3B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #AC1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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