#AC1F58#AC1F58

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

Color values

HEX#AC1F58
RGBrgb(172, 31, 88)
HSLhsl(336, 69%, 40%)
HSVhsv(336, 82%, 67%)
CMYKcmyk(0%, 82%, 48.8%, 32.5%)
CIE-LABlab(38.65, 58.14, 3.29)
CIE-LCHlch(38.65, 58.24, 3.24°)
OKLaboklab(49.45% 0.1784 0.009)
OKLCHoklch(49.45% 0.179 2.9)
XYZxyz(19.2664, 10.4579, 10.2347)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1F58 #1FAC73
analogous
#AC1F9E #AC1F58 #AC2D1F
triadic
#AC1F58 #58AC1F #1F58AC
tetradic
#AC1F58 #9EAC1F #1FAC73 #2D1FAC
square
#AC1F58 #9EAC1F #1FAC73 #2D1FAC
split-complementary
#AC1F58 #1FAC2D #1F9EAC
monochromatic
#440C23 #78163D #AC1F58 #D92F74 #E36396

Accessibility & contrast

On white

6.79
#AC1F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC1F58
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1F58#FFFFFF#000000##FFFFFF
##AC1F581.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A59
Deuteranopia (green-blind)
#696555
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac1f58;
/* rgb */ color: rgb(172, 31, 88);
/* oklch */ color: oklch(49.4% 0.179 2.9);
Tailwind
colors: {
  custom: {
    50: '#cb6b86',
    500: '#ac1f58',
    950: '#000000',
  },
}
SCSS
$custom: #ac1f58;
$custom-light: #cb6b86;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1f58",
  "rgb": {
    "r": 172,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 335.745,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.17864,
    "h": 2.9
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#AC1F58
secondary
#5FC89D
accent
#ECA53C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AC1F58

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

Preview Lab → · Contrast checker → · Palette generator →

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