#AC2159#AC2159

#AC2159 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.177 H 2.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AC2159
RGBrgb(172, 33, 89)
HSLhsl(336, 68%, 40%)
HSVhsv(336, 81%, 67%)
CMYKcmyk(0%, 80.8%, 48.3%, 32.5%)
CIE-LABlab(38.87, 57.70, 2.97)
CIE-LCHlch(38.87, 57.78, 2.94°)
OKLaboklab(49.62% 0.1771 0.0082)
OKLCHoklch(49.62% 0.177 2.7)
XYZxyz(19.3620, 10.5823, 10.4723)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2159 #21AC74
analogous
#AC219F #AC2159 #AC2E21
triadic
#AC2159 #59AC21 #2159AC
tetradic
#AC2159 #9FAC21 #21AC74 #2E21AC
square
#AC2159 #9FAC21 #21AC74 #2E21AC
split-complementary
#AC2159 #21AC2E #219FAC
monochromatic
#450D24 #79173E #AC2159 #D83275 #E26698

Accessibility & contrast

On white

6.74
#AC2159 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AC2159 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2159
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2159#FFFFFF#000000##FFFFFF
##AC21591.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A5A
Deuteranopia (green-blind)
#696556
Tritanopia (blue-blind)
#BB003A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac2159;
/* rgb */ color: rgb(172, 33, 89);
/* oklch */ color: oklch(49.6% 0.177 2.7);
Tailwind
colors: {
  custom: {
    50: '#cb6c87',
    500: '#ac2159',
    950: '#000000',
  },
}
SCSS
$custom: #ac2159;
$custom-light: #cb6c87;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2159",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 335.827,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.17724,
    "h": 2.7
  },
  "luminance": 0.1058
}

Semantic roles & 50–950 ramp

primary
#AC2159
secondary
#62C79E
accent
#EBA53D
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AC2159

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

Preview Lab → · Contrast checker → · Palette generator →

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