#AC1F51#AC1F51

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

Color values

HEX#AC1F51
RGBrgb(172, 31, 81)
HSLhsl(339, 69%, 40%)
HSVhsv(339, 82%, 67%)
CMYKcmyk(0%, 82%, 52.9%, 32.5%)
CIE-LABlab(38.46, 57.57, 7.49)
CIE-LCHlch(38.46, 58.05, 7.41°)
OKLaboklab(49.24% 0.1759 0.0194)
OKLCHoklch(49.24% 0.177 6.3)
XYZxyz(18.9902, 10.3474, 8.7803)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1F51 #1FAC7A
analogous
#AC1F98 #AC1F51 #AC331F
triadic
#AC1F51 #51AC1F #1F51AC
tetradic
#AC1F51 #98AC1F #1FAC7A #331FAC
square
#AC1F51 #98AC1F #1FAC7A #331FAC
split-complementary
#AC1F51 #1FAC33 #1F98AC
monochromatic
#440C20 #781639 #AC1F51 #D92F6B #E36390

Accessibility & contrast

On white

6.84
#AC1F51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#AC1F51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1F51
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1F51#FFFFFF#000000##FFFFFF
##AC1F511.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#6A644E
Tritanopia (blue-blind)
#BC0036
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac1f51;
/* rgb */ color: rgb(172, 31, 81);
/* oklch */ color: oklch(49.2% 0.177 6.3);
Tailwind
colors: {
  custom: {
    50: '#cb6b81',
    500: '#ac1f51',
    950: '#000000',
  },
}
SCSS
$custom: #ac1f51;
$custom-light: #cb6b81;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1f51",
  "rgb": {
    "r": 172,
    "g": 31,
    "b": 81
  },
  "hsl": {
    "h": 338.723,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49244,
    "c": 0.17693,
    "h": 6.3
  },
  "luminance": 0.10345
}

Semantic roles & 50–950 ramp

primary
#AC1F51
secondary
#5FC8A3
accent
#ECAE3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #AC1F51

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

Preview Lab → · Contrast checker → · Palette generator →

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