#AC1F52#AC1F52

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

Color values

HEX#AC1F52
RGBrgb(172, 31, 82)
HSLhsl(338, 69%, 40%)
HSVhsv(338, 82%, 67%)
CMYKcmyk(0%, 82%, 52.3%, 32.5%)
CIE-LABlab(38.49, 57.65, 6.89)
CIE-LCHlch(38.49, 58.06, 6.81°)
OKLaboklab(49.27% 0.1762 0.0179)
OKLCHoklch(49.27% 0.177 5.8)
XYZxyz(19.0280, 10.3626, 8.9792)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1F52 #1FAC79
analogous
#AC1F98 #AC1F52 #AC331F
triadic
#AC1F52 #52AC1F #1F52AC
tetradic
#AC1F52 #98AC1F #1FAC79 #331FAC
square
#AC1F52 #98AC1F #1FAC79 #331FAC
split-complementary
#AC1F52 #1FAC33 #1F98AC
monochromatic
#440C21 #781639 #AC1F52 #D92F6C #E36391

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC1F52#FFFFFF#000000##FFFFFF
##AC1F521.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)
#454953
Deuteranopia (green-blind)
#6A644F
Tritanopia (blue-blind)
#BC0036
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac1f52;
/* rgb */ color: rgb(172, 31, 82);
/* oklch */ color: oklch(49.3% 0.177 5.8);
Tailwind
colors: {
  custom: {
    50: '#cb6b82',
    500: '#ac1f52',
    950: '#000000',
  },
}
SCSS
$custom: #ac1f52;
$custom-light: #cb6b82;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1f52",
  "rgb": {
    "r": 172,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 338.298,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49273,
    "c": 0.17714,
    "h": 5.8
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#AC1F52
secondary
#5FC8A2
accent
#ECAC3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #AC1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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