#AC1F4F#AC1F4F

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

Color values

HEX#AC1F4F
RGBrgb(172, 31, 79)
HSLhsl(340, 69%, 40%)
HSVhsv(340, 82%, 67%)
CMYKcmyk(0%, 82%, 54.1%, 32.5%)
CIE-LABlab(38.41, 57.41, 8.69)
CIE-LCHlch(38.41, 58.07, 8.61°)
OKLaboklab(49.19% 0.1751 0.0223)
OKLCHoklch(49.19% 0.177 7.3)
XYZxyz(18.9163, 10.3179, 8.3911)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1F4F #1FAC7C
analogous
#AC1F96 #AC1F4F #AC351F
triadic
#AC1F4F #4FAC1F #1F4FAC
tetradic
#AC1F4F #96AC1F #1FAC7C #351FAC
square
#AC1F4F #96AC1F #1FAC7C #351FAC
split-complementary
#AC1F4F #1FAC35 #1F96AC
monochromatic
#440C1F #781637 #AC1F4F #D92F69 #E3638E

Accessibility & contrast

On white

6.86
#AC1F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#AC1F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1F4F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1F4F#FFFFFF#000000##FFFFFF
##AC1F4F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464950
Deuteranopia (green-blind)
#6A644C
Tritanopia (blue-blind)
#BC0035
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ac1f4f;
/* rgb */ color: rgb(172, 31, 79);
/* oklch */ color: oklch(49.2% 0.177 7.3);
Tailwind
colors: {
  custom: {
    50: '#cb6b80',
    500: '#ac1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #ac1f4f;
$custom-light: #cb6b80;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1f4f",
  "rgb": {
    "r": 172,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 339.574,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49189,
    "c": 0.17652,
    "h": 7.3
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#AC1F4F
secondary
#5FC8A4
accent
#ECB03C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #AC1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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