#AC1E51#AC1E51

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

Color values

HEX#AC1E51
RGBrgb(172, 30, 81)
HSLhsl(338, 70%, 40%)
HSVhsv(338, 83%, 67%)
CMYKcmyk(0%, 82.6%, 52.9%, 32.5%)
CIE-LABlab(38.37, 57.82, 7.36)
CIE-LCHlch(38.37, 58.29, 7.25°)
OKLaboklab(49.18% 0.1767 0.0191)
OKLCHoklch(49.18% 0.178 6.2)
XYZxyz(18.9645, 10.2960, 8.7717)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1E51 #1EAC79
analogous
#AC1E98 #AC1E51 #AC321E
triadic
#AC1E51 #51AC1E #1E51AC
tetradic
#AC1E51 #98AC1E #1EAC79 #321EAC
square
#AC1E51 #98AC1E #1EAC79 #321EAC
split-complementary
#AC1E51 #1EAC32 #1E98AC
monochromatic
#440C20 #781538 #AC1E51 #DA2D6B #E36190

Accessibility & contrast

On white

6.87
#AC1E51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC1E51
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1E51#FFFFFF#000000##FFFFFF
##AC1E511.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454852
Deuteranopia (green-blind)
#6A644E
Tritanopia (blue-blind)
#BC0035
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ac1e51;
/* rgb */ color: rgb(172, 30, 81);
/* oklch */ color: oklch(49.2% 0.178 6.2);
Tailwind
colors: {
  custom: {
    50: '#cb6b81',
    500: '#ac1e51',
    950: '#000000',
  },
}
SCSS
$custom: #ac1e51;
$custom-light: #cb6b81;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1e51",
  "rgb": {
    "r": 172,
    "g": 30,
    "b": 81
  },
  "hsl": {
    "h": 338.451,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49178,
    "c": 0.17772,
    "h": 6.2
  },
  "luminance": 0.10293
}

Semantic roles & 50–950 ramp

primary
#AC1E51
secondary
#5EC8A2
accent
#EDAD3B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #AC1E51

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

Preview Lab → · Contrast checker → · Palette generator →

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