#AC1F53#AC1F53

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

Color values

HEX#AC1F53
RGBrgb(172, 31, 83)
HSLhsl(338, 69%, 40%)
HSVhsv(338, 82%, 67%)
CMYKcmyk(0%, 82%, 51.7%, 32.5%)
CIE-LABlab(38.51, 57.73, 6.29)
CIE-LCHlch(38.51, 58.07, 6.21°)
OKLaboklab(49.3% 0.1766 0.0165)
OKLCHoklch(49.3% 0.177 5.3)
XYZxyz(19.0663, 10.3779, 9.1811)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1F53 #1FAC78
analogous
#AC1F9A #AC1F53 #AC311F
triadic
#AC1F53 #53AC1F #1F53AC
tetradic
#AC1F53 #9AAC1F #1FAC78 #311FAC
square
#AC1F53 #9AAC1F #1FAC78 #311FAC
split-complementary
#AC1F53 #1FAC31 #1F9AAC
monochromatic
#440C21 #78163A #AC1F53 #D92F6E #E36392

Accessibility & contrast

On white

6.83
#AC1F53 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AC1F53 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1F53
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1F53#FFFFFF#000000##FFFFFF
##AC1F531.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454954
Deuteranopia (green-blind)
#6A6550
Tritanopia (blue-blind)
#BC0037
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac1f53;
/* rgb */ color: rgb(172, 31, 83);
/* oklch */ color: oklch(49.3% 0.177 5.3);
Tailwind
colors: {
  custom: {
    50: '#cb6b83',
    500: '#ac1f53',
    950: '#000000',
  },
}
SCSS
$custom: #ac1f53;
$custom-light: #cb6b83;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1f53",
  "rgb": {
    "r": 172,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 337.872,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49301,
    "c": 0.17737,
    "h": 5.3
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#AC1F53
secondary
#5FC8A1
accent
#ECAB3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #AC1F53

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

Preview Lab → · Contrast checker → · Palette generator →

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