#AC1F57#AC1F57

#AC1F57 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.178 H 3.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AC1F57
RGBrgb(172, 31, 87)
HSLhsl(336, 69%, 40%)
HSVhsv(336, 82%, 67%)
CMYKcmyk(0%, 82%, 49.4%, 32.5%)
CIE-LABlab(38.62, 58.06, 3.89)
CIE-LCHlch(38.62, 58.19, 3.83°)
OKLaboklab(49.42% 0.1781 0.0105)
OKLCHoklch(49.42% 0.178 3.4)
XYZxyz(19.2252, 10.4415, 10.0180)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1F57 #1FAC74
analogous
#AC1F9E #AC1F57 #AC2D1F
triadic
#AC1F57 #57AC1F #1F57AC
tetradic
#AC1F57 #9EAC1F #1FAC74 #2D1FAC
square
#AC1F57 #9EAC1F #1FAC74 #2D1FAC
split-complementary
#AC1F57 #1FAC2D #1F9EAC
monochromatic
#440C23 #78163D #AC1F57 #D92F73 #E36396

Accessibility & contrast

On white

6.80
#AC1F57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AC1F57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1F57
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1F57#FFFFFF#000000##FFFFFF
##AC1F571.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444958
Deuteranopia (green-blind)
#696554
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac1f57;
/* rgb */ color: rgb(172, 31, 87);
/* oklch */ color: oklch(49.4% 0.178 3.4);
Tailwind
colors: {
  custom: {
    50: '#cb6b86',
    500: '#ac1f57',
    950: '#000000',
  },
}
SCSS
$custom: #ac1f57;
$custom-light: #cb6b86;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1f57",
  "rgb": {
    "r": 172,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 336.17,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.17837,
    "h": 3.4
  },
  "luminance": 0.10439
}

Semantic roles & 50–950 ramp

primary
#AC1F57
secondary
#5FC89E
accent
#ECA63C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AC1F57

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

Preview Lab → · Contrast checker → · Palette generator →

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