#AC1F5A#AC1F5A

#AC1F5A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.179 H 1.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AC1F5A
RGBrgb(172, 31, 90)
HSLhsl(335, 69%, 40%)
HSVhsv(335, 82%, 67%)
CMYKcmyk(0%, 82%, 47.7%, 32.5%)
CIE-LABlab(38.71, 58.32, 2.10)
CIE-LCHlch(38.71, 58.36, 2.06°)
OKLaboklab(49.51% 0.1791 0.006)
OKLCHoklch(49.51% 0.179 1.9)
XYZxyz(19.3504, 10.4915, 10.6770)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1F5A #1FAC71
analogous
#AC1FA0 #AC1F5A #AC2B1F
triadic
#AC1F5A #5AAC1F #1F5AAC
tetradic
#AC1F5A #A0AC1F #1FAC71 #2B1FAC
square
#AC1F5A #A0AC1F #1FAC71 #2B1FAC
split-complementary
#AC1F5A #1FAC2B #1FA0AC
monochromatic
#440C24 #78163F #AC1F5A #D92F76 #E36398

Accessibility & contrast

On white

6.78
#AC1F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AC1F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1F5A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1F5A#FFFFFF#000000##FFFFFF
##AC1F5A1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5B
Deuteranopia (green-blind)
#696557
Tritanopia (blue-blind)
#BB003A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac1f5a;
/* rgb */ color: rgb(172, 31, 90);
/* oklch */ color: oklch(49.5% 0.179 1.9);
Tailwind
colors: {
  custom: {
    50: '#cb6b88',
    500: '#ac1f5a',
    950: '#000000',
  },
}
SCSS
$custom: #ac1f5a;
$custom-light: #cb6b88;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1f5a",
  "rgb": {
    "r": 172,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 334.894,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49511,
    "c": 0.17922,
    "h": 1.9
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#AC1F5A
secondary
#5FC89C
accent
#ECA23C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AC1F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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