#AC2147#AC2147

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

Color values

HEX#AC2147
RGBrgb(172, 33, 71)
HSLhsl(344, 68%, 40%)
HSVhsv(344, 81%, 67%)
CMYKcmyk(0%, 80.8%, 58.7%, 32.5%)
CIE-LABlab(38.40, 56.29, 13.81)
CIE-LCHlch(38.40, 57.96, 13.78°)
OKLaboklab(49.12% 0.1703 0.0344)
OKLCHoklch(49.12% 0.174 11.4)
XYZxyz(18.6963, 10.3161, 6.9667)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2147 #21AC86
analogous
#AC218D #AC2147 #AC4021
triadic
#AC2147 #47AC21 #2147AC
tetradic
#AC2147 #8DAC21 #21AC86 #4021AC
square
#AC2147 #8DAC21 #21AC86 #4021AC
split-complementary
#AC2147 #21AC40 #218DAC
monochromatic
#450D1D #791732 #AC2147 #D83260 #E26688

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2147#FFFFFF#000000##FFFFFF
##AC21471.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)
#494848
Deuteranopia (green-blind)
#6C6443
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ac2147;
/* rgb */ color: rgb(172, 33, 71);
/* oklch */ color: oklch(49.1% 0.174 11.4);
Tailwind
colors: {
  custom: {
    50: '#cc6b79',
    500: '#ac2147',
    950: '#000000',
  },
}
SCSS
$custom: #ac2147;
$custom-light: #cc6b79;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2147",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 343.597,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49124,
    "c": 0.17369,
    "h": 11.4
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#AC2147
secondary
#62C7AB
accent
#EBBB3D
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #AC2147

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

Preview Lab → · Contrast checker → · Palette generator →

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